lxqt / lxqt-qtplugin

LXQt Qt platform integration plugin
https://lxqt.github.io
GNU Lesser General Public License v2.1
24 stars 14 forks source link

Correct Qt's poor handling of some dark palettes #69

Closed tsujan closed 3 years ago

tsujan commented 3 years ago

Qt has an old problem when the window color is dark but the base (= view) color is light. The cause of problem is that Qt derives some colors related to the base color by using the window color, assuming that they don't have a high contrast with each other. The result can be terrible (the screenshots are taken with Fusion):

alternate1

With a simple patch, we can compensate for this problem of Qt:

alternate2