Bug 479085 - Dropping a file far on top of the desktop teleports it to the bottom
Summary: Dropping a file far on top of the desktop teleports it to the bottom
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 6.1.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-27 16:53 UTC by Fernando M. Muniz
Modified: 2024-09-13 08:39 UTC (History)
5 users (show)

See Also:
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. (62.56 KB, image/jpeg)
2023-12-27 16:53 UTC, Fernando M. Muniz
Details
Teleport glitch (1.27 MB, video/x-matroska)
2024-02-15 05:39 UTC, Fernando M. Muniz
Details
Glitch still present in Plasma 6.0.3 (1.31 MB, video/mp4)
2024-04-12 03:47 UTC, Fernando M. Muniz
Details
Glitch still present in Plasma 6.1.2 (2.99 MB, video/x-matroska)
2024-07-04 20:18 UTC, Fernando M. Muniz
Details
Creating folder on the middle of the screen, then doing the issue. (2.52 MB, video/x-matroska)
2024-07-11 19:43 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
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.