Bug 516392

Summary: refresh tooltip shows "F5 (QQuickShortcut(0x563ea066cec0))"
Product: [Applications] Discover Reporter: ts6s5fok
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: aleixpol, nate, ovi.dev
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.6.3
Sentry Crash Report:
Attachments: Text

Description ts6s5fok 2026-02-20 14:39:43 UTC
Created attachment 189868 [details]
Text

SUMMARY
Bad tooltip text

STEPS TO REPRODUCE
1. Open discover
2. Go to updates tab
3. Move the cursor to refresh button

OBSERVED RESULT
shows "F5 (QQuickShortcut(0x563ea066cec0))"

EXPECTED RESULT
show only F5

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-02-20
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Core™ i7-4500U CPU @ 1.80GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: virgl
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-10.1
ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2026-03-11 19:09:34 UTC
Git commit bb6dd4c623ef3454b3e79adf628efd9e354125f9 by Akseli Lahtinen.
Committed on 11/03/2026 at 17:30.
Pushed by akselmo into branch 'master'.

DiscoverWindow: Move refresh shortcut outside of the action

If we declare the shortcut property as Shortcut directly, we
get a broken tooltip that shows the Shortcut object instead
of the actual shortcut.

Instead, declare the Shortcut outside of the Action, then assign
shortcuts nativeText property to the shortcut property. This
way user gets the correct shortcut tooltip.

M  +8    -8    discover/qml/DiscoverWindow.qml

https://invent.kde.org/plasma/discover/-/commit/bb6dd4c623ef3454b3e79adf628efd9e354125f9
Comment 2 Akseli Lahtinen 2026-03-11 19:21:29 UTC
Git commit 3b1dfb25082bfcef9e72706f66aa7d898b319ef7 by Akseli Lahtinen.
Committed on 11/03/2026 at 19:10.
Pushed by akselmo into branch 'Plasma/6.6'.

DiscoverWindow: Move refresh shortcut outside of the action

If we declare the shortcut property as Shortcut directly, we
get a broken tooltip that shows the Shortcut object instead
of the actual shortcut.

Instead, declare the Shortcut outside of the Action, then assign
shortcuts nativeText property to the shortcut property. This
way user gets the correct shortcut tooltip.


(cherry picked from commit bb6dd4c623ef3454b3e79adf628efd9e354125f9)

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +8    -8    discover/qml/DiscoverWindow.qml

https://invent.kde.org/plasma/discover/-/commit/3b1dfb25082bfcef9e72706f66aa7d898b319ef7
Comment 3 Akseli Lahtinen 2026-03-16 12:21:13 UTC
*** Bug 517611 has been marked as a duplicate of this bug. ***