Bug 356582 - Moving icon from FolderView widget: all widget move with mouse
Summary: Moving icon from FolderView widget: all widget move with mouse
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.5.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 05:38 UTC by opensuse.lietuviu.kalba
Modified: 2015-12-14 05:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description opensuse.lietuviu.kalba 2015-12-13 05:38:41 UTC
Try drag icon from FolderView widget. After releasing mouse, folder moves with mouse.

Reproducible: Always

Steps to Reproduce:
1. Try drag icon from FolderView widget. 
2.  release mouse

Actual Results:  
folder moves with mouse

Expected Results:  
folder don't change place

See video https://bugs.kde.org/attachment.cgi?id=96008
Comment 1 Eike Hein 2015-12-13 15:52:42 UTC
Hmm, I can't reproduce this. Which Qt version?
Comment 2 opensuse.lietuviu.kalba 2015-12-13 15:53:42 UTC
Qt 5.5.0 (patched) – default version in latest openSUSE Leap 42.1
Comment 3 Eike Hein 2015-12-13 15:57:52 UTC
There's actually two strange things in your vid. When you trigger moving by press-and-hold the first few times the handle is not appearing. Then later when you DND the icon it does appear. Both shouldn't happen and don't happen here.

Just making sure:
a) Press and hold is enabled on the Tweaks page of the desktop settings dialog?
b) Any unusual workspace settings e.g. regarding focus follows mouse or focus stealing prevention?
Comment 4 Eike Hein 2015-12-13 15:58:24 UTC
Sorry, undoing damage from comment collision.
Comment 5 opensuse.lietuviu.kalba 2015-12-13 16:50:07 UTC
a) YES – Press and hold is enabled
b) NO

I can reproduce it always.

Actually, running system is openSUSE based appliance, made in SUSE Studio.
You can download it for testing youself
https://susestudio.com/a/CttYWz/lietukas-42-1-64-bit-english?version=42.1.12#appliance-downloads
or just run online
https://susestudio.com/a/CttYWz/lietukas-42-1-64-bit-english/start_testdrive?version=42.1.12

I run LiveCD ISO in VirtualBox. Make sure to change Screen resolution to higher (otherwise folder is so big, that don't move)
Comment 6 opensuse.lietuviu.kalba 2015-12-13 16:56:47 UTC
To be more presize: start to drag icon, but release it in same FolderView widget. Then folder moves with mouse. It stops moving, if you click again.
Comment 7 Eike Hein 2015-12-14 05:21:33 UTC
Git commit 02f72c80b7a12b3826f4b309aa9d4604632358b1 by Eike Hein.
Committed on 14/12/2015 at 05:21.
Pushed by hein into branch 'Plasma/5.5'.

Make sure press-and-hold isn't triggered during DND inside of (and never leaving) Folder View.

M  +10   -0    containments/desktop/plugins/folder/foldermodel.cpp
M  +1    -0    containments/desktop/plugins/folder/foldermodel.h

http://commits.kde.org/plasma-desktop/02f72c80b7a12b3826f4b309aa9d4604632358b1