Bug 515958 - eaf78e70743f7cab051e8a138fad1ac2360912ca makes actions with shortcut but no tooltip text show tooltip with redundant label
Summary: eaf78e70743f7cab051e8a138fad1ac2360912ca makes actions with shortcut but no t...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: KDE Linux Linux
: NOR minor
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-02-13 18:05 UTC by Nate Graham
Modified: 2026-02-14 01:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Before (38.68 KB, image/webp)
2026-02-13 18:05 UTC, Nate Graham
Details
After (40.72 KB, image/webp)
2026-02-13 18:05 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
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