Bug 515958

Summary: eaf78e70743f7cab051e8a138fad1ac2360912ca makes actions with shortcut but no tooltip text show tooltip with redundant label
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Nate Graham <nate>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: josh, notmart
Priority: NOR Keywords: regression
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Before
After

Description Nate Graham 2026-02-13 18:05:25 UTC
Created attachment 189536 [details]
Before

See before-and-after screenshots. If an action has a shortcut but no tooltip text, then its tooltip shouldn't repeat the main label because it's redundant.

Maybe instead it could say "Trigger this action with "[shortcut]".
Comment 1 Nate Graham 2026-02-13 18:05:38 UTC
Created attachment 189537 [details]
After
Comment 2 Bug Janitor Service 2026-02-13 20:17:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/2043
Comment 3 Joshua Goins 2026-02-14 01:17:31 UTC
Git commit f5cff1ca14f3905a96781069b0cdeb611e638678 by Joshua Goins.
Committed on 13/02/2026 at 20:17.
Pushed by redstrate into branch 'master'.

Reduce text duplication for shortcut tooltips in action toolbar

Instead of repeating the action name again, only display the shortcut
but with a helpful message. Also applies to actions that (for some
reason) don't have any text, but has a shortcut set.

M  +2    -2    src/controls/private/PrivateActionToolButton.qml

https://invent.kde.org/frameworks/kirigami/-/commit/f5cff1ca14f3905a96781069b0cdeb611e638678