-
Notifications
You must be signed in to change notification settings - Fork 209
Fixes to issue #2522 Enable Theming Checkbox #2606
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
base: master
Are you sure you want to change the base?
Conversation
…d display/hide the bloc of theme list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mai-tran-03 Hi,
Thanks for the contribution, I am trying to understand your take on this issue.
If possible, could you please share some screenshots showing if these changes tackle and rectify the issue when you reproduce it.
Thank You!
Retrace steps to toggle themingEnabled button and show/hide its content
@IamLRBA Hello, The issue I'm trying to fix is when the user toggles the "Enable theming" button in Settings > General > Appearance, it should show/hide the selection of themes. It's counterintuitive to have to reset twice to apply the button changes. ![]() My solution is to create separate functions to handle theme-dependent vs independent composites. In eclipse.ui.workbench/.../internal/dialogs/ViewsPreferencePage.java
![]()
![]() Below is a video demonstrating how my changes resolved part of the issue:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @mai-tran-03,
Well done, I'm interested in following what you are doing.
I see themeDependentComp
was added but isn’t used yet. Should it affect UI behavior? If so, its integration might not be complete because i see you haven't initialized it yet.
@IamLRBA Thank you for your feedback.
|
@vogella: Can you provide some input why up to now these two restarts are necessary? |
I added more functionality when the
enableTheming
button is selected. It would display the theme-dependent components if selected, otherwise hide them. We need to restart twice when theming is disabled.Fixes #2522