https://bugs.kde.org/show_bug.cgi?id=407517
Bug ID: 407517
Summary: no current item set if mouse is already above one
Product: plasmashell
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Application Launcher (Kickoff)
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
If I am reading the current code right then the current item of the listview is
only changed once the mouse area got onPositionChanged and mapped to an actual
item.
This leads to items not being right clickable when the mouse is already
positioned above it.
STEPS TO REPRODUCE
1. hit meta to open kickoff
2. position mouse above an entry
3. hit esc to close kickoff
4. hit meta to open kickoff
5. right click without moving the mouse
OBSERVED RESULT
Nothing happens.
> file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffListView.qml:128:
> TypeError: Cannot call method 'openActionMenu' of null
EXPECTED RESULT
The item under the mouse cursor should get its context menu shown.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: 5.15
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Supposedly running the current item calculation on Component.onCompleted to
determine if the mouse is already above an item would be sufficient to solve
this problem.
--
You are receiving this mail because:
You are watching all bug changes.