Page MenuHome GnuPG

Kleopatra / Qt6: Improve accessibility detection for "Desert" high contrast scheme and fix it upstream
Closed, ResolvedPublic

Description

Using icons as a resource T4066: Kleopatra, performance: Use icons as a resource requires us to detect the used color scheme early in the startup of Kleopatra. While our fix for this works for us it should ideally be part of Qt Frameworks or KDE upstream and not carried around as a patch. This is handled in: https://invent.kde.org/frameworks/kiconthemes/-/merge_requests/114

Event Timeline

aheinecke created this task.

I have improved the heuristic for detecting light high-contrast themes. Upstreaming this is still open.

ikloecker edited projects, added gpd5x; removed Restricted Project.
ikloecker raised the priority of this task from Normal to High.EditedMar 25 2025, 10:24 AM

It seems that High Contrast mode is completely ignored with Qt 6/KF6 (at least with Breeze and the built-in default style).

Edit: This has been fixed with T7587: Kleopatra: High contrast mode isn't respected anymore.

ikloecker lowered the priority of this task from High to Normal.Mar 26 2025, 3:17 PM
ikloecker added a project: Windows.
ikloecker moved this task from Backlog to Done on the gpd5x board.

For KF5-based builds this is resolved because the improved heuristic for detecting light high-contrast themes (like "Desert") is used for VSD 3.3 and Gpg4win 4.4.

For KF6-based builds this ticket is obsolete. With KF6 icon coloring is done on-the-fly. There is no separate "dark" icon theme anymore.