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: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.2.2
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 Marcelino Muniz
Modified: 2026-02-06 07:52 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented 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 Marcelino Muniz
Details
Teleport glitch (1.27 MB, video/x-matroska)
2024-02-15 05:39 UTC, Fernando Marcelino Muniz
Details
Glitch still present in Plasma 6.0.3 (1.31 MB, video/mp4)
2024-04-12 03:47 UTC, Fernando Marcelino Muniz
Details
Glitch still present in Plasma 6.1.2 (2.99 MB, video/x-matroska)
2024-07-04 20:18 UTC, Fernando Marcelino 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 Marcelino Muniz
Details
There's no nearest neighbour. (1.51 MB, video/x-matroska)
2025-01-18 14:36 UTC, Fernando Marcelino Muniz
Details
Issue on Plasma 6.4.3 (1.38 MB, video/x-matroska)
2025-07-23 08:14 UTC, Fernando Marcelino Muniz
Details
Issue in Plasma 6.5.5 (1.02 MB, video/x-matroska)
2026-02-06 07:52 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino 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 Marcelino 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 Marcelino 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 Marcelino Muniz 2024-03-01 17:21:20 UTC
Wayland.
Comment 7 Fernando Marcelino Muniz 2024-04-12 03:47:16 UTC
Created attachment 168411 [details]
Glitch still present in Plasma 6.0.3
Comment 8 Fernando Marcelino 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 Marcelino 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 Marcelino Muniz 2024-07-11 19:41:09 UTC
snapping back to where it was dragged from***
Comment 12 Fernando Marcelino 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 Marcelino 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.
Comment 14 Fernando Marcelino Muniz 2024-12-03 16:43:01 UTC
(In reply to Nate Graham from comment #3)
> Thanks. It's strange, I cannot reproduce the issue.

Try having another file on a space above another file, then drag both files to the top by holding the lower file.
It gets even weirder if you drag them back down, making the top file that now is on the bottom to go up again but in a different location.
Comment 15 Fernando Marcelino Muniz 2025-01-18 14:36:54 UTC
Created attachment 177509 [details]
There's no nearest neighbour.
Comment 16 Fernando Marcelino Muniz 2025-05-07 12:49:13 UTC
(In reply to Nate Graham from comment #3)
> Thanks. It's strange, I cannot reproduce the issue.

You can't reproduce it likely because your Desktop grid is organized left to right (default setting).
In your case you can reproduce it by shoving a file to the left corner, you can use two or more files to make it easier.
Comment 17 Fernando Marcelino Muniz 2025-07-23 08:14:28 UTC
Created attachment 183449 [details]
Issue on Plasma 6.4.3

It's easier to reproduce the bug if you use another item as a stick.
Comment 18 toasterthebrot236 2025-08-19 16:19:24 UTC
(In reply to Fernando M. Muniz from comment #12)
> Created attachment 171583 [details]
> Creating folder on the middle of the screen, then doing the issue.

Can reproduce this like shown on Plasma 6.4.4 Wayland. 

If the Icon Arrangement setting under "Desktop and Wallpaper" is set to Top to Bottom, dragging and dropping any file or folder to the very top of the desktop will snap it to the bottom, dropping it to the very bottom will snap it to the top. Setting the Icon Arrangement setting to Left to Right will make files/folders snap to the right if dropped to the very left, or to the left if dropped to the very right instead.
Comment 19 Fernando Marcelino Muniz 2026-02-06 07:52:09 UTC
Created attachment 189272 [details]
Issue in Plasma 6.5.5

Wouldn't it be easy to just use the resolution number as coordinates to set the out-of-bounds area limit so that items can't be dropped there?

Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
Kernel Version: 6.18.8-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6