Closed tsujan closed 3 years ago
@tsujan How can one test it? Manipulate the palette ?
@luis-pereira By making a palette like that of https://github.com/lxqt/lxqt-qtplugin/issues/69, namely, a dark window color but a light (white) view color. Then, the first screenshot of that report shouldn't happen with the patch.
Qt implicitly assumes that the base and window colors don't have a high contrast with each other and uses the latter to get some colors related to the former, resulting in unreadable texts:
Closes https://github.com/lxqt/lxqt-qtplugin/issues/69
NOTE: If window and base colors have a high contrast with each other, symbolic SVG icons might be white/black on white/black backgrounds. Nothing can be done by us for avoiding that — KDE devs made the same mistake that was hidden inside Qt — but, IMO, we shouldn't disallow this kind of palette (→ UNIX philosophy).