Options panel use GTK default colors - #2744
Conversation
|
Sorry, -1 from me on this. Although +1 to fixing it. We can't keep adding exceptions for look and feels over the code base. Better to fix this so that a single key works for all LAFs. If |
8339568 to
f57210f
Compare
I added a keys to modify this panel to allow remove LAFs exceptions but this PR only removes exceptions for the GTK laf. |
|
A step in the good direction, though if we are adding new LAF keys, probably shall add constants for it in LFCustoms. A sidenote: It would be really great if you could detect somehow when the GTK skin is set to dark, if it does, it would be great at least add the |
f57210f to
2b436af
Compare
I added the new constants in LFCustoms.
New keys are only used by GTK theme, I would like to fix the problem with that theme before start to modify the other themes.
A GTK configuration property to detect that is available: https://developer.gnome.org/gtk3/3.8/GtkSettings.html#GtkSettings--gtk-application-prefer-dark-theme |
|
Changing milestone to 12.5. |
995895b to
d4278b2
Compare
d4278b2 to
9d19e06
Compare
6f7e8f1 to
a3d88d3
Compare
a3d88d3 to
a3514a4
Compare
|
@neilcsmith-net @lkishalmi are the changes better now ? Can we consider merging ? |
lkishalmi
left a comment
There was a problem hiding this comment.
Generally I'm Ok with the implementation, just those constants...
|
change resquested moving to 12.6 for now |
7c590fb to
75f91b5
Compare
|
@lkishalmi please review and merge if you're happy. |
|
This seems to be a working implementation, which even looks like a cleanup. Any reason not to merge now? (the unittests that fail are known to be flaky). |
It's only waiting for a positive review. |
75f91b5 to
e9b0393
Compare
Use default colors in options panel when GTK laf is used.
Tested in Ubuntu 20.04 with default theme.
Before:

After:
