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

--- Comment #8 from Méven <[email protected]> ---
Git commit fc4fa9d2068a0a602197f7d800a868e46babdb5c by Méven Car.
Committed on 17/10/2026 at 17:04.
Pushed by meven into branch 'master'.

UnionStyle: underline accelerators of selectable labels only with Alt

Before this change, styleHint() answered true for SH_UnderlineShortcut, while
drawItemText() hid accelerators until Alt is pressed. A QLabel whose text is
selectable draws through its own text document, which only reads
SH_UnderlineShortcut. Such a label with a buddy showed its accelerator
underlined all the time, for example the file metadata labels in the Dolphin
information panel and the properties dialog.

SH_UnderlineShortcut now follows the Alt key, as drawItemText() does.

M  +1    -1    src/output/qtwidgets/UnionStyle.cpp

https://invent.kde.org/plasma/union/-/commit/fc4fa9d2068a0a602197f7d800a868e46babdb5c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to