-
Notifications
You must be signed in to change notification settings - Fork 155
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
Fix toolbar render problems in dark mode on resizing #536 #538
base: master
Are you sure you want to change the base?
Fix toolbar render problems in dark mode on resizing #536 #538
Conversation
…#536 - Toolbar has in dark mode now a dedicated color instead of css inheritance. A parent container change by resizing does not change the toolbar color any longer - The color is choosen in way that the main toolbar looks as expected before. Also the toggle border is now visible again, which could address eclipse-platform#467 as well. Signed-off-by: Albert Tregnaghi <albert.tregnaghi@gmail.com>
71de89c
to
e81b94f
Compare
Just curious what is exact difference to the state before (I can't spot that)? |
Target OS: Linux Mint 21.1, Native dark theme enabled (Mint-Y-Legacy-dark or any other dark theme) |
Ok, if I understood it right, the difference is that the background of the toolbar changes and doesn't match the color of the toolbar buttons? But it should match them? For me both screenshots look inconsistent. The "bad" case seem to show wrong background behind buttons in Console view but shows proper background in the front of them (note Package Explorer and Outline view). The "fixed" screenshot shows exact the opposite, which isn't better IMHO. |
…tform#536 - removed CSS background handling for ToolItem + changed tests (temporary as long as there are conflicts) - handled CTabFolder
e81b94f
to
1693cb7
Compare
@iloveeclipse - thank you for the feedback, @akurtakov did already some test about the PR and gave me feedback inside the issue itself. @akurtakov : I really tried hard to fix the problems just with CSS but it did not work. With last commit I reverted my former CSS attempts (by force push) and did changes inside code instead. It looks now good (see next picture). DetailsCTabFolder handling is now stopped, which stops the color changes when the toolbar menu is selected. I Also fixed the problem with the missing toggle states - the are shown now, but ... to bring up the toggle selection again and to fix the wrong background rendering for the tool items, I had to remove the CSS background handling for Maybe this could be a temporary solution/workaround? Currently as a dark mode user I am really unhappy with the rendering and the missing toggle selections. @vogella : Please take a look, maybe you have an Idea, how we could |
This PR
Details
Signed-off-by: Albert Tregnaghi albert.tregnaghi@gmail.com