| Summary: | ExpandableListItem: hovering over action button does not automatically hover / mark item as current in list | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] libplasma | Reporter: | ratijas <me> |
| Component: | components | Assignee: | ratijas <me> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | minor | CC: | nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
ExpandableListItem hover bug
Expandable list items - hover and current index |
||
Created attachment 146206 [details]
Expandable list items - hover and current index
A screenshot for those who don't like watching videos.
Can reproduce. Wanna fix it? :) How weird, I can't reproduce this by nesting multiple PC3.Buttons on top of each other in a playground project. OTOH MouseArea::positionChanged is not emitted when there are child items in the way. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/562 This appears to be fixed in Qt 6! |
Created attachment 146205 [details] ExpandableListItem hover bug SUMMARY When using rapid mouse movement or input interfaces like a graphic tablet which jumps straight to the point {x,y} without intermediate states, and ending up hovering over an action button of an ExpandableListItem, the button is properly highlighted, but the list item itself may not receive hover event to become highlighted as a "current item" of its list view. This affects all applets that use ExpandableListItem with action buttons, including: Bluetooth, Networks, Disks & Devices. It does not affect Clipboard applet, because currently its list items require a mouse hover to show any action buttons in the first place. STEPS TO REPRODUCE 1. Open e.g. «Networks» applet and wait for some networks to appear if you don't have any in the list yet. 2. Quickly move cursor to the Connect button of an item (network) that is not currently highlighted. OBSERVED RESULT Button highlights as it should in hover state, but the list item itself is not. EXPECTED RESULT List item should become "current" and highlight as well. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.4-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2