Summary: | Desktop Widgets are disconnected from the pointer while dragging them in edit mode | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Nate Graham <nate> |
Component: | Desktop Containment | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, notmart |
Priority: | NOR | Keywords: | regression |
Version: | git-stable-Plasma/6.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/dfd60e1db7be938096613ec8ea30887f0a537981 | Version Fixed In: | 6.1.1 |
Sentry Crash Report: | |||
Attachments: |
working correctly
Actually no, it doesn't work |
Description
Nate Graham
2024-06-07 18:27:29 UTC
You can even see it moving in the background amazing! Created attachment 170634 [details]
working correctly
can't reproduce, as the attached video, all the hit boxes of interactible items are mapped correctly can you do a screencast? Created attachment 170690 [details]
Actually no, it doesn't work
In your screen recording, you aren't moving anything enough to see the bug happen.
I've attached a screen recording that shows it happening. Notice how I grab the clock from its right-most edge, and by the time I'm done dragging it, the cursor is far away from the clock's right edge.
ok, reproduced, might know what it is A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4473 Git commit 58a0bbc6039a6add479cf286470015ce41ddfb92 by Marco Martin. Committed on 21/06/2024 at 12:36. Pushed by mart into branch 'master'. Mapping for mouse events considering transforms if as mouse delta we only consider deltas of scene positions, those will not be transformed, and if the whole appletslayout is scaled (ie edit mode) the applet will be dragged not considering the scale, not keeping it fixed uder the mouse M +9 -5 components/containmentlayoutmanager/itemcontainer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/58a0bbc6039a6add479cf286470015ce41ddfb92 Git commit dfd60e1db7be938096613ec8ea30887f0a537981 by Marco Martin. Committed on 21/06/2024 at 13:27. Pushed by mart into branch 'Plasma/6.1'. Mapping for mouse events considering transforms if as mouse delta we only consider deltas of scene positions, those will not be transformed, and if the whole appletslayout is scaled (ie edit mode) the applet will be dragged not considering the scale, not keeping it fixed uder the mouse (cherry picked from commit 58a0bbc6039a6add479cf286470015ce41ddfb92) 58a0bbc6 Mapping for mouse events considering transforms Co-authored-by: Marco Martin <notmart@gmail.com> M +9 -5 components/containmentlayoutmanager/itemcontainer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/dfd60e1db7be938096613ec8ea30887f0a537981 |