Bug 360226 - Desktop icons in Folder View sometimes doesnt snap to the dragged destination
Summary: Desktop icons in Folder View sometimes doesnt snap to the dragged destination
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.5.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-07 21:12 UTC by Mike
Modified: 2022-06-25 19:54 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen Recording of the "rubberband" effect (2.52 MB, video/mp4)
2016-04-05 20:36 UTC, Mike
Details
Video demonstrating the Rubberband effect while dragging desktop icons (3.40 MB, video/mp4)
2019-03-06 21:03 UTC, kristian.covic0903
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2016-03-07 21:12:16 UTC
Sometimes the icons stick to their old position: trying to drag them they snap back to their old position. Sometimes it works..but in 50% they refuse to relocate. Sometimes they snap to another position on the virtual grid that lies beneath ( I assume) . Unfortunately that grid could not be disabeld so its even not possibel to freely position the icons.

Reproducible: Sometimes

Steps to Reproduce:
1. switch Desktop to folder-view
2. left-click and hold an desktop icon and drag it to another location 
3. release mousebutton on location and see what happens: 

Actual Results:  
Sometimes the icon will be moved to the desired location, sometimes it will snap back to the old location and sometimes it will snap to a location besides the desired location because of the "virtual" grid that couldn't be disabeld !  

Expected Results:  
Icon should snap to the exact location where the mousebutton is released - or at least in the sector of the grid where the mousebutton is released !
Comment 1 Kai Uwe Broulik 2016-03-09 14:19:45 UTC
There was a bug where the top left corner of the icon was used as a reference point rather than the center/mouse position. Can you try again with Plasma 5.6 Beta?
Comment 2 Mike 2016-03-11 21:49:27 UTC
I will try....if I know how to install 5.6 beta on my manjaro system without breaking it ;-)  I will let you know !  :-)
Comment 3 Mike 2016-04-01 21:50:21 UTC
Tried with the 5.6 release today and now I have a new behaviour :

rubberband effect still there IF :  "lock desktop widgets" is active. If not then I could move the icons and they snap to the underlaying grid. But what has "lock widgets/apps" to do with the desktop icons ?   That should be two different things..; 
:-)
Comment 4 Eike Hein 2016-04-02 15:48:14 UTC
Indeed, I don't understand your report - with widgets locked, icons can still be selected (including rubberband) and moved. That's normal.
Comment 5 Mike 2016-04-04 11:57:39 UTC
Ok I think I explained it missleading:  with rubberband I meant that the Icons will snap back to their old position - so it looks like they are tied with a rubberband on the dekstop. 
I don't mean the selection-rubberband. 
Locking the widgets normally doesn't lock the icons.. just the wirdgets... but for me the icons are locked to...with a rubberband effect to their location ;-) 

Hope thats clearer ;-)
Comment 6 Eike Hein 2016-04-05 10:06:49 UTC
Definitely can't reproduce that ... would you mind recording a short video (e.g. using vokoscreen)? The behavior might give me a clue.
Comment 7 Mike 2016-04-05 20:29:52 UTC
Hi Eike,  Vokoscreen is a wonderful tool - thanks for the tip ;-) I just recorded the effect on my desktop. Hope that makes it clear ...and yes - English is not my native language ;-))
Comment 8 Mike 2016-04-05 20:36:11 UTC
Created attachment 98260 [details]
Screen Recording of the "rubberband" effect

I tried to show the problem with locked desktop widgets ( German: Miniprogramme) and the rubberband effect. Hope that makes it clear.
Comment 9 Eike Hein 2016-04-06 08:23:19 UTC
Thanks, can reproduce now!
Comment 10 Mike 2016-04-06 22:07:10 UTC
Seems Bug 360578  is exactly the same effect/problem ;-)
Comment 11 Eike Hein 2016-04-07 08:37:18 UTC
*** Bug 360578 has been marked as a duplicate of this bug. ***
Comment 12 Alexander Mentyu 2017-12-13 17:45:34 UTC
Desktop icons are movable when widgets are locked in:

Netrunner Rolling
Plasma: 5.11.4
Apps: 17.08.3
Frameworks: 5.40.0
Qt: 5.9.3
Kernel: 4.14.3-1-MANJARO 


KDE neon Developer Edition - Unstable Branches
Plasma: 5.11.90
Frameworks: 5.42.0
Qt: 5.9.3
Kernel 4.10.0-42-generic
Comment 13 pditchev 2018-12-17 13:05:47 UTC
Presently the bug persists (to some extent). Approximately 50% of the time when I try to move an icon (drag it) I end up on a location that is invalid (as indicated by the mouse icon) and that makes rearranging the desktop a very tedious task.
Comment 14 Eike Hein 2018-12-18 07:14:15 UTC
There's actually no invalid locations. This is a bug in a library DND component that was fixed recently, I think. No relation to this ticket.
Comment 15 kristian.covic0903 2019-03-06 21:03:10 UTC
Created attachment 118610 [details]
Video demonstrating the Rubberband effect while dragging desktop icons

Please excuse the heavy compression.
Comment 16 kristian.covic0903 2019-03-06 21:08:04 UTC
The effect persists for me on latest Plasma 5.15.2 (installed from Kubuntu Backports PPA).

Desktop icons cannot be dragged correctly, it appers as every second pixel on the screen is not allowed and dropping an Item will just do nothing, as indicated by the "action not allowed" cursor.

The "Lock Widgets" setting does not seem to affect the behaviour. 

When new widgets from the widget menu are dragged onto the desktop the same bug occurs, however, moving an existing widget with its handle works fine.
Comment 17 pditchev 2019-04-30 08:50:22 UTC
I no longer experience this bug as of plasmashell 5.15.4 (Manjaro Linux). I don't now which code changes were relevant, but if someone else confirms - we can mark it as fixed.
Comment 18 Nate Graham 2022-06-25 19:54:22 UTC
Let's call it fixed.