Bug 453586

Summary: No visual indicator that the Repeat Track button has a long-press menu
Product: [Applications] Elisa Reporter: Jack Hill <jackhill3103>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: minor CC: nate, uhhadd
Priority: NOR    
Version First Reported In: 22.04.0   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In: 22.08
Sentry Crash Report:

Description Jack Hill 2022-05-09 18:21:34 UTC
SUMMARY
There should probably be a little arrow on the button indicating that it has a long-press menu.

STEPS TO REPRODUCE
1. Press and hold Repeat Track button

OBSERVED RESULT
Menu opens

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220506
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-10 15:40:05 UTC
Were this a QtWidgets app, it would happen automatically. Because it's not, and the menu is custom, it's probably gonna be our responsibility to do it.
Comment 2 Nate Graham 2022-05-10 16:46:31 UTC
Git commit 8591836b31d04bfc21c9f7b2fdbaba7e8fcfa053 by Nate Graham.
Committed on 10/05/2022 at 16:44.
Pushed by ngraham into branch 'master'.

Show a little arrow in the corner of the repeat button

This signifies that it will show a menu when pressed-and-held. Because
the button and its menu are custom, we're on the hook for drawing this
arrow, as we don't get it from the QStyle automatically.
FIXED-IN: 22.08

M  +11   -0    src/qml/MediaPlayerControl.qml

https://invent.kde.org/multimedia/elisa/commit/8591836b31d04bfc21c9f7b2fdbaba7e8fcfa053