| Summary: | Clicking-and-holding on a desktop widget no longer allows it to be dragged immediately | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Nate Graham <nate> |
| Component: | Containment | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | justin.zobel, nicolas.fella, notmart, qydwhotmail |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/ec009aafd012c57be1521eca3ebf4aa7bf859c7e | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
Nate Graham
2023-06-05 14:19:37 UTC
Confirmed on Wayland as well. Not sure I understand the issue correctly, but this seems to work fine for me (on Wayland) Steps to reproduce: 1. Put a widget on the desktop via any method 2. Exit edit mode, if you' were still in it as a result of putting a widget on the desktop 3. Click-and-hold on that widget until Plasma enters Edit Mode *and do not release the mouse button* 4. With the mouse button still held down, start moving the cursor somewhere Expected results: The widget moves with the cursor Actual results The widget does not move with the cursor That works fine here Actually, it works fine *for unconfigured widgets*, like media frame or weather right after placing. It does not work fine for e.g. analog clock Fascinating. I was indeed testing with Analog Clock. localhost.localdomain plasmashell[1806]: cannot grab mouse: no event is currently being delivered A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3343 Git commit ec009aafd012c57be1521eca3ebf4aa7bf859c7e by Fushan Wen. Committed on 28/09/2023 at 15:59. Pushed by fusionfuture into branch 'master'. ItemContainer: port away from deprecated QQuickItem::(un)grabMouse It's deprecated and no longer works without an ongoing mouse event. See also https://invent.kde.org/qt/qt/qtdeclarative/-/blob/251fdf01a65a52414dd9183308520efbbd731567/src/quick/items/qquickitem.cpp?page=9#L8285 FIXED-IN: 6.0 M +11 -6 components/containmentlayoutmanager/itemcontainer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/ec009aafd012c57be1521eca3ebf4aa7bf859c7e |