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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/union/-/commit/f4d473929 |ma/union/-/commit/b5855f9d9
                   |15449c8750b63569e4d5a4b1708 |d65541c59a4cf8812d68f6bf545
                   |636f                        |3958

--- Comment #5 from Akseli Lahtinen <[email protected]> ---
Git commit b5855f9d9d65541c59a4cf8812d68f6bf5453958 by Akseli Lahtinen.
Committed on 05/11/2026 at 17:30.
Pushed by akselmo into branch 'Plasma/6.8'.

DrawItemText: Ensure we draw mnemonics only for items that have it explicitly
set

Add a new mnemonic flag for elements that use it, and utilize it for
them only. If we don't, random ampersands that are not `&&` will get
marked as mnemonics, such as `& `.

Currently the elements match same as in Breeze.
FIXED-IN: 6.8.3
(cherry picked from commit f4d47392915449c8750b63569e4d5a4b1708636f)

M  +14   -2    src/output/qtwidgets/UnionStyle.cpp
M  +3    -0    src/output/qtwidgets/elements/AbstractElement.cpp
M  +1    -0    src/output/qtwidgets/elements/AbstractElement.h
M  +1    -0    src/output/qtwidgets/elements/ButtonElement.cpp
M  +1    -0    src/output/qtwidgets/elements/CheckBoxElement.cpp
M  +1    -0    src/output/qtwidgets/elements/DockWidgetElement.cpp
M  +1    -0    src/output/qtwidgets/elements/GroupBoxElement.cpp
M  +1    -0    src/output/qtwidgets/elements/MenuBarItemElement.cpp
M  +1    -0    src/output/qtwidgets/elements/MenuItemElement.cpp
M  +1    -0    src/output/qtwidgets/elements/ProgressBarElement.cpp
M  +1    -0    src/output/qtwidgets/elements/RadioButtonElement.cpp
M  +1    -0    src/output/qtwidgets/elements/TabElement.cpp
M  +1    -0    src/output/qtwidgets/elements/TitleBarElement.cpp
M  +1    -0    src/output/qtwidgets/elements/ToolBarElement.cpp
M  +1    -0    src/output/qtwidgets/elements/ToolBoxTabElement.cpp
M  +1    -0    src/output/qtwidgets/elements/ToolButtonElement.cpp

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

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

Reply via email to