Bug 498836

Summary: Stealing focus while dragging widget out of the screen, places widget out of the desktop.
Product: [Plasma] plasmashell Reporter: dhruv8sh <dhruv8sh>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, nate, notmart
Priority: NOR    
Version First Reported In: 6.2.90   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The widget overflows outside the desktop.

Description dhruv8sh 2025-01-18 07:38:04 UTC
Created attachment 177487 [details]
The widget overflows outside the desktop.

SUMMARY
Stealing focus while dragging widget out of the screen, places widget out of the desktop.

STEPS TO REPRODUCE
1. Hold down a widget, drag it to the edge of a screen.
2. Steal focus while holding down the mouse button. (I used spectacle shortcut for rectangular screenshot).
3. The widget disappears, or is partially outside the desktop. It is now placed out of the screen.
4. Now use the edit mode to bring it back, you will be able to see it out of the screen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Kernel Version: 6.12.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-01-21 22:21:31 UTC
I can;t reproduce this issue as described; any chance you could attach a screen recording that shows it happening? Thanks!

It would also be good to know if it only happens with certain widgets. The one you've got in your screenshot isn't a 1sr-party one. Does it happen with the Digital Clock widget?
Comment 2 dhruv8sh 2025-01-23 16:13:22 UTC
Weirdly, this seems to be device specific. I was able to reproduce this on my work device consistently but I am unable to reproduce this on my personal machine. 

I will provide you with a video when I can.


Back on my work machine I was able to reproduce it with digital clock and other first-party widgets as well.

P.S. The attached screenshot is of the edit mode with the plasmoid right on the edge. You can even see the overflown part of the widget outside the desktop boundary. (Added in case it was not apparent),
Comment 3 Bug Janitor Service 2025-02-07 03:47:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-22 03:46:52 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.