desktop-items: remain highlighted when Cursor leaves via Dash
Affected version
- Ubuntu 20.04 (also present in previous versions)
- mutter 3.36.1 (also present in previous versions)
- Affects Xorg only
Bug summary
This is a copy of the following issue of the extension "desktop-items": World/ShellExtensions/desktop-icons#193
There is a work-around solution for the extension destop-icons: World/ShellExtensions/desktop-icons!175 (closed)
The actual root cause seems to be located in Clutter. When the CLUTTER_ENTER event is processed, the input device is updated without emitting the crossing between the desktop icon and the dash.
This commit fixes the behavior: marsch84/mutter@815d0e39
Original description:
Default Gnome desktop on Ubuntu 20.04 beta, the taskbar touches the desktop icon highlight square (produced when the mouse is over the icon). If the mouse cursor on the highlighted (Trash) icon leaves the icon by moving over the (touching) taskbar, the icon remains highlighted. The highlight remains when another icon is highlighted or a window activated or the backgound clicked. Multiple icons may be left in the highlighted state. The highlight is turned off by moving the mouse over the icon and then off the icon onto the desktop.
ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-shell-extension-desktop-icons 19.10.2+git20200223-1 ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27 Uname: Linux 5.4.0-21-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu22 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Apr 5 09:41:19 2020 InstallationDate: Installed on 2020-02-29 (35 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200220) PackageArchitecture: all SourcePackage: gnome-shell-extension-desktop-icons UpgradeStatus: No upgrade log present (probably fresh install)
Steps to reproduce
- Install extension "desktop-icons"
- Place pointer on desktop icon next to dash
- Quickly move the mouse over to the dash
- The desktop icon remains highlighted, but it should not
What happened
When the CLUTTER_ENTER event is processed, the input device is updated without emitting the crossing between the desktop icon and the dash.
What did you expect to happen
The crossing should be emitted when the pointer moves from the icon to the dash.