Out of focus windows don't get grayed out #105
-
The expected behaviour would be like this (window at left is out of focus and its elements are grayed out, while the window at right is in focus and its elements are not grayed out): I tested this on Xfce 4.18, and it seems the distro doesn't matter. Just by reverting to the original gtk+3 fixes the issue. Might be useful for the discussion: https://stackoverflow.com/questions/40475617/widget-sensitive-gray-look-change-with-window-focus-causes-too-much-delay |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Can confirm. There is a patch appearance__disable-backdrop.patch that allows you to restore the original behaviour. Simply set this environment variable:
Place that in your Looking at the project's history, |
Beta Was this translation helpful? Give feedback.
-
Yes, reverting this patch fixes the issue. Thanks a lot! And, indeed, it's very ironic that you're trying to mimic a limitation of GTK2 to make it consistent with other systems and toolkits :D |
Beta Was this translation helpful? Give feedback.
Can confirm. There is a patch appearance__disable-backdrop.patch that allows you to restore the original behaviour. Simply set this environment variable:
Place that in your
~/.bash_aliases
,~/.bashrc
or/etc/environment
file then restart/re-login for changes to take effect.Looking at the project's history,
:backdrop
was disabled to make it behave like "classic" GTK 2 for inactive windows. Funnily enough, this makes it consistent with Windows and Qt 5 too, since they don't dim controls on inactive windows.