-
Notifications
You must be signed in to change notification settings - Fork 450
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
Unable to load Material Theme Settings Menu #552
Comments
Looking at |
Nice, but does it fix the issue where the values in the config are 0? Because this is what causes the issue, that for some reason the config changes and the value is set to 0 when it should be between the bounds. |
My understanding was that the minimum/maximum get passed in and a bound check happens. The change was just guaranteeing the value passed in is between the minimum and maximum.
This calls the next constructor, which makes sure that
So the code checks if It looks like it should be on IntelliJ to interpret that value, while this segment of code is just responsible for making sure that the Further, the value for three of these parameters will be enforced to be greater than zero, and Thanks for taking a look at this! |
Summary
When opening IntelliJ IDEA > Preferences > Material Theme, the view never loads and causes an exception. This failure also seems to affect the plugin generally, and even IntelliJ behavior. I was able to get IntelliJ's view into a pretty weird state by changing Appearance > UI Options > Theme and Editor > Color Scheme > Scheme after this failure happened.
Expected behavior
Open menu to change material theme preferences
Actual behavior
"Loading" view with spinner shown indefinitely, IntelliJ logs an exception.
Steps to reproduce (if needed)
It's unclear what caused this behavior as I am new to using the plugin.
Unfortunately I don't remember exactly which preferences I changed, since I'm not familiar with them and can no longer view them.
Environment
IntelliJ IDEA 2017.3.1 (Community Edition)
Build #IC-173.3942.27, built on December 11, 2017
JRE: 1.8.0_152-release-1024-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Stack Traces:
The text was updated successfully, but these errors were encountered: