-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color picker breaks when rpy file becomes invalid syntax and doesn't recover #364
Comments
I found the logs. Unfortunately it has personal data so I'm unsure about sharing the whole file but I found this:
Is this expected to see in the log file when the issue in the video happens? |
I decided to take a look at this. When the color is temporarily invalid (while the user is typing or even changing using the picker) this appears in the console:
I hope this helps getting this bug fixed |
Thanks for the stack trace, that might help me find the issue. As for why this happened; the plugin crashes, causing it to shutdown until you restart visual studio and/or maybe if you open another renpy file |
I did come across this crash and have included a fix in #410. I'll mark it as resolved, it should be available in the next release. |
Extension version
2.2.2, 2.3.6
Issue description
When UI loads/reloads, extension works as expected.
If I modify the file such that the syntax becomes wrong, the extension breaks and the color pickers disappear (see video).
The only way to get them back is with a complete UI is reload.
renpy.plugin.colors.broken.mp4
I notice this also happens when I change to other longer files but I can't find how to reproduce it reliably.
Scope inspector screenshots
Code
The text was updated successfully, but these errors were encountered: