Bug 373255 - Visual distractions: item highlight persists when mouse pointer is not over desktop
Summary: Visual distractions: item highlight persists when mouse pointer is not over d...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 15:13 UTC by Jonathan Marten
Modified: 2016-12-15 08:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.8.5
Sentry Crash Report:


Attachments
Screen shot 1 - pointer leaving the desktop (55.23 KB, image/png)
2016-12-04 15:13 UTC, Jonathan Marten
Details
Screen shot 2 - pointer reentering the desktop (32.32 KB, image/png)
2016-12-04 15:14 UTC, Jonathan Marten
Details

Note You need to log in before you can comment on or make changes to this bug.
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!