| 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: | general | Assignee: | 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: | https://invent.kde.org/frameworks/kirigami/-/commit/f5cff1ca14f3905a96781069b0cdeb611e638678 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Before
After |
||
Created attachment 189537 [details]
After
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/2043 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 |
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]".