Bug 373255

Summary: Visual distractions: item highlight persists when mouse pointer is not over desktop
Product: [Plasma] plasmashell Reporter: Jonathan Marten <jjm>
Component: Desktop icons & Folder View widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.8.5
Sentry Crash Report:
Attachments: Screen shot 1 - pointer leaving the desktop
Screen shot 2 - pointer reentering the desktop

Description Jonathan Marten 2016-12-04 15:13:49 UTC
Created attachment 102613 [details]
Screen shot 1 - pointer leaving the desktop

Items in the folder view as desktop containment are highlighted when the mouse pointer is over them.  This is good for feedback when working on the desktop, but the problem is that if the mouse is moved directly from a highlighted item to a window, the item stays highlighted.  This looks like an unwanted artifact, see screenshot 1.

The second problem is that, when the pointer is eventually moved back over the desktop (even onto a completely different place) the original highlight then disappears, see screemshot 2.  This is a distraction because it happens in the user's peripheral vision, so drawing their attention away from their current position of interest (the mouse pointer).

Both of these could be fixed if the highlight could be arranged to disappear when the mouse pointer is not currently over the desktop background.
Comment 1 Jonathan Marten 2016-12-04 15:14:25 UTC
Created attachment 102614 [details]
Screen shot 2 - pointer reentering the desktop
Comment 2 Eike Hein 2016-12-06 17:03:10 UTC
Patch under review at https://phabricator.kde.org/D3593
Comment 3 Kai Uwe Broulik 2016-12-06 18:55:40 UTC
Git commit 7585f295363532eff51f7e11ef6b62925117aba4 by Kai Uwe Broulik.
Committed on 06/12/2016 at 18:54.
Pushed by broulik into branch 'Plasma/5.8'.

[Folder View] Clear hover state when mouse leaves view

This ensures there isn't a stray hovered item when moving the mouse from an item to an adjacent window.
FIXED-IN: 5.8.5

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

M  +1    -0    containments/desktop/package/contents/ui/FolderView.qml

https://commits.kde.org/plasma-desktop/7585f295363532eff51f7e11ef6b62925117aba4
Comment 4 Jonathan Marten 2016-12-15 08:25:57 UTC
Desktop with this patch is working perfectly, many thanks for the quick fix!