[okular] [Bug 369627] [Frameworks] unexpected background color

Christoph Feck bugzilla_noreply at kde.org
Sun Nov 6 22:45:19 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=369627

--- Comment #14 from Christoph Feck <cfeck at kde.org> ---
If I understand this report correctly, this is not really a bug (in QPalette,
or whereever the actual color for QPalette::Dark is computed).

While the documentation states that QPalette::Dark is darker than the other
colors, applications should never have invisible color combinations. So if your
background color is already quite dark, then QPalette::Dark has to be
_brighter_ to be visible against the dark background (simply speaking, you
cannot get darker than black, and you cannot read black on black).

Since Okular does not actually render anything (text or graphics) over this
background, it could indeed use any dark color, e.g. half brightness of
QPalette::Window, even if it was already black. If it was decided not to
implement bug 372055, then this could be a practical solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list