]> git.lyx.org Git - lyx.git/commit
Remove alpha component of system colors
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 22 Jul 2024 18:36:20 +0000 (20:36 +0200)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Mon, 22 Jul 2024 19:55:46 +0000 (15:55 -0400)
commit2999061e38c5d28d24cdb194f5272a6cbc7baa06
tree1bbc49644d814d31847979c613b33f4ae30891c2
parent4a796889e9d62c8167c57fad460732109646a2a3
Remove alpha component of system colors

When using system colors it may happen (on windows 11 in particular)
that the background color is actually translucid. This is not
something we are prepared to handle and it creates ghosts on screen.

The fix is easy: the alpha channel of the colors is set to 255.

Fixes bug #13084.

(cherry picked from commit 095bb18331f8eb4653691a64520d89d4a2d60fc4)
src/frontends/qt/ColorCache.cpp
status.24x