Bug 479085

Summary: Dropping a file far on top of the desktop teleports it to the bottom
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: FolderAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: hein, kdedev, nate, notmart, tim
Priority: NOR Keywords: qt6
Version: 6.2.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: This image shows what i mean by "Top of the grid". Drop there and the file will teleport to the bottom.
Teleport glitch
Glitch still present in Plasma 6.0.3
Glitch still present in Plasma 6.1.2
Creating folder on the middle of the screen, then doing the issue.

Description Fernando M. Muniz 2023-12-27 16:53:58 UTC
Created attachment 164481 [details]
This image shows what i mean by "Top of the grid". Drop there and the file will teleport to the bottom.

This issue is simple to reproduce; Just put a file on the very top of your desktop.

Instead of remaining on the top of the grid, it teleports to the bottom of the grid.
Comment 1 Nate Graham 2024-02-15 05:35:10 UTC
Cannot reproduce. Any chance you can attach a screen recording that shows the issue? Thanks!
Comment 2 Fernando M. Muniz 2024-02-15 05:39:17 UTC
Created attachment 165827 [details]
Teleport glitch

Here's how to reproduce the bug
Comment 3 Nate Graham 2024-02-15 15:32:07 UTC
Thanks. It's strange, I cannot reproduce the issue.
Comment 4 Fernando M. Muniz 2024-03-01 00:41:06 UTC
Updated the system info into the one that I currently have. (Same issue still happens)
Comment 5 Marco Martin 2024-03-01 11:51:08 UTC
x11 or wayland?
Comment 6 Fernando M. Muniz 2024-03-01 17:21:20 UTC
Wayland.
Comment 7 Fernando M. Muniz 2024-04-12 03:47:16 UTC
Created attachment 168411 [details]
Glitch still present in Plasma 6.0.3
Comment 8 Fernando M. Muniz 2024-07-04 20:18:42 UTC
Created attachment 171383 [details]
Glitch still present in Plasma 6.1.2

Glitch still present in Plasma 6.1.2
Comment 9 TraceyC 2024-07-11 19:34:45 UTC
I'm able to reproduce the behavior shown in the video on X11 with Solus Plasma and on Plasma with KDE Neon

1. Have a file or folder on the desktop, anywhere.
2. Click the icon near the bottom to drag.
3. Drag the icon with the mouse as far to the top as you can, the cursor will stop at the top of the visible viewport. The top of the icon will be beyond the viewport.
4. Let go of the mouse button. The icon will snap back to where it had been.

This seems like it could be intentional behavior to avoid having icons get to a position where the user can't interact with them anymore. I'll defer to the developers to answer that.
Comment 10 Fernando M. Muniz 2024-07-11 19:40:01 UTC
(In reply to TraceyC from comment #9)
> I'm able to reproduce the behavior shown in the video on X11 with Solus
> Plasma and on Plasma with KDE Neon
> 
> 1. Have a file or folder on the desktop, anywhere.
> 2. Click the icon near the bottom to drag.
> 3. Drag the icon with the mouse as far to the top as you can, the cursor
> will stop at the top of the visible viewport. The top of the icon will be
> beyond the viewport.
> 4. Let go of the mouse button. The icon will snap back to where it had been.
> 
> This seems like it could be intentional behavior to avoid having icons get
> to a position where the user can't interact with them anymore. I'll defer to
> the developers to answer that.

Except that it's not snapping dragged from, nor snapping to the closest place at the top.
It's going to the bottom of the screen, a place where the file/folder never was.
Comment 11 Fernando M. Muniz 2024-07-11 19:41:09 UTC
snapping back to where it was dragged from***
Comment 12 Fernando M. Muniz 2024-07-11 19:43:50 UTC
Created attachment 171583 [details]
Creating folder on the middle of the screen, then doing the issue.
Comment 13 Fernando M. Muniz 2024-07-12 10:15:40 UTC
PS: I think that the *nearest possible placement within the grid* is the better solution.
It's reasonable to assume that the user was in a hurry and just happened to grab a file/folder by its corner, and dropped it far on top because that way they only need to do horizontal movement, which doesn't require precision if the grid is activated.