Bug 430391

Summary: Audo-hidden panel unexpectedly accepts drags of widgets even when hidden
Product: [Plasma] plasmashell Reporter: Bob English <bobofenglish>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, g.guerin, mvourlakos, nate, niccolo, plasma-bugs-null, takuya
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Bob English 2020-12-14 19:11:13 UTC
SUMMARY

When I try to move the trash widget to a corner of the screen, it jumps to and gets added to an adjacent panel.  I would expect this behavior only if my auto-hidden panels would pop out first, and I drop it directly on it. as it is now, all I have to do is get near, and it's added to the panel before I even release the mouse button.

This is especially annoying, because in my two monitor setup with 2 different resolutions, when the screen power saving feature kicks in, and I restore the screen, the icons on my 4k (default) monitor adjust to a 1080p grid, placing the trash which I keep in the bottom right corner, in the center of the screen.  SO the screen resolution changes going into power saving mode (Synk-Blank) to 1080p top right, and readjusts back when coming out again, which makes no sense, as the resolution should stay set and is irrelevant anyhow when the screen is blank.  The desktop wallpaper is OK, but the open windows reorient, and the mouse is expecting 1080p and clicking on one thing activates another in Dolphin which I often have in the bottom right.

I understand this is not easy to figure out, as it these problems and similar have been a plague for a long tim, especially not being able to have apps and fonts adjust to the set resolution and assigned sizes per monitor( so different for each).

STEPS TO REPRODUCE
1. Create trash widget on desktop with panels set to autohide.
2. Move trash widget to near but not to the edge of the screen (where you want it on the grid.
3. Nothing, as it won't even wait for mouse button release, and puts it on the panel.

OBSERVED RESULT
Widget is on panel, not where you would have dropped it had it waited for you to do so.

EXPECTED RESULT
Widget is put where dropped, and only when actually dropped via releasing the mouse button.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.9.14-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2500K CPU @ 3.30GHz
Memory: 31.3 GiB of RAM
Graphics Processor: GeForce GTX 1050/PCIe/SSE2

ADDITIONAL INFORMATION

You still do it better than anyone else, Plasma rocks!
Comment 1 Nate Graham 2020-12-17 18:36:01 UTC
Confirmed!
Comment 2 Nate Graham 2022-01-12 17:59:33 UTC
*** Bug 410411 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2022-01-12 17:59:37 UTC
*** Bug 409877 has been marked as a duplicate of this bug. ***
Comment 4 Bug Janitor Service 2023-10-01 17:59:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1750
Comment 5 Nate Graham 2024-08-23 02:40:11 UTC
*** Bug 351217 has been marked as a duplicate of this bug. ***
Comment 6 Niccolò Venerandi 2024-08-28 11:55:15 UTC
This was fixed by the drag and drop refactor