Bug 380982 - folder icon not properly deselected after closing expanded folder view
Summary: folder icon not properly deselected after closing expanded folder view
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.10.1
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 18:09 UTC by S. Christian Collins
Modified: 2017-06-23 13:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
video showing the bug (1.74 MB, video/mp4)
2017-06-08 18:09 UTC, S. Christian Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2017-06-08 18:09:29 UTC
Created attachment 105994 [details]
video showing the bug

Please see the attached video.

Steps to reproduce:
1. Make sure your desktop layout is set to "folder view" and you have at least one folder on the desktop containing files.
2. Click the little arrow on a desktop icon to expand the folder view.
3. Move your cursor over the expanded folder view, then click the desktop. The expanded folder view will close.
4. Click and drag in empty space on the desktop to create a rectangle selection.

Result: Instead of creating a rectangle selection, the icon gets dragged instead, even though the mouse cursor was nowhere near it.
Comment 1 Eike Hein 2017-06-12 14:41:42 UTC
I can't reproduce your conclusion, but I see a similar problem - the click-and-drag after starts a rectangle selection for me, but it also opens the folder in Dolphin as if it got a double-click pair.

This is likely rooted in something related to bug 380354.
Comment 2 Eike Hein 2017-06-23 13:00:40 UTC
Git commit 20bf7ec11458afdf7b55d7ab2f0fe338f32d1081 by Eike Hein.
Committed on 23/06/2017 at 12:59.
Pushed by hein into branch 'Plasma/5.10'.

Fix clicking outside of preview popups to dismiss them corrupting mouse state

Summary:
As a result of refactorings in 5.10, hoveredItem may not reflect the
true cursor position when preview popups become involved. When inter-
acting with an item's associated preview popup, it's still considered
hovered. This needs to be taken into account when processing clicks,
otherwise corrupted mouse state leads e.g. to inadvertendly opening
a folder by clicking outside its preview popup to dismiss it.

Reviewers: #plasma

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6247

M  +13   -4    containments/desktop/package/contents/ui/FolderItemDelegate.qml
M  +21   -1    containments/desktop/package/contents/ui/FolderView.qml

https://commits.kde.org/plasma-desktop/20bf7ec11458afdf7b55d7ab2f0fe338f32d1081