| Summary: | When a widget is in edit mode, the bar with buttons disappears on mouseover | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
| Component: | Containment | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate, notmart, qydwhotmail |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/4c09f4ea9cbe35d301b7d585879008d1af460030 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | screen recording | ||
Can reproduce. It's hilarious at first, then very annoying. Ok, so the problem here is that we have two MouseAreas in ConfigOverlay.qml that are supposed to inhibit exiting Edit Mode when they're hovered, and that's not working in Plasma 6. Haven't found the thing that causes ConfigOverlay's `open` property to get set to false when it's not hovered, but that seems to be the cause of the issue. Ooh it's in ItemContainer::childMouseEventFilter So when the mouse leaves the item container, the close timer starts. In Plasma 5, the two MouseAreas were somehow blocking this, but that doesn't seem to be working in Plasma 6. Frankly I'm struggling to understand how it would have worked in 5. But clearly input handling has changed in Qt 6 sufficiently that whatever made it work in Plasma 5 no longer does in 6. *** Bug 473842 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3609 Git commit 4c09f4ea9cbe35d301b7d585879008d1af460030 by Nate Graham, on behalf of Bharadwaj Raju. Committed on 28/11/2023 at 18:01. Pushed by ngraham into branch 'master'. Fix applet edit overlay disappearing on hovering the side buttons in global edit mode M +6 -1 components/containmentlayoutmanager/itemcontainer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/4c09f4ea9cbe35d301b7d585879008d1af460030 |
Created attachment 160537 [details] screen recording STEPS TO REPRODUCE 1. have a widget on desktop 2. right-click on desktop and choose "Enter edit mode" 3. hover the widget and try to click on the buttons used to edit or delete it OBSERVED RESULT we cannot click on the buttons because the bar with them disappears on mouseover. Please watch the attached screen recording. EXPECTED RESULT the observed result does not occur SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Graphics Platform: Wayland