GNOME Bugzilla – Bug 756925
Moving mouse to the hot corner and clicking in the same moment shows overview briefly
Last modified: 2015-10-23 11:47:44 UTC
If I move mouse to the hot corner AND click with the mouse at the same, Gnome Shell will show Overview briefly and then quickly show the desktop. A lot of people I've met, when presented with the Gnome 3 for the first time, do something similar to this and then experience this behaviour. That's very confusing for them. Could GS negate the mouse click if it happened in less than 500 ms (totally made up value) since the last time hot corner was activated? That would solve a problem where people want to click on Activities and then accidentally click AND activate hot corner which triggers Overview and then promptly returns them to the Desktop, leaving them very confused.
[..]AND click with the mouse at the same moment*
Created attachment 313871 [details] [review] ActivitiesButton: fix overview being toggled while still animating Adds the missing checks for whether we should toggle the overview, on button and key release.
Review of attachment 313871 [details] [review]: ::: js/ui/panel.js @@ +460,3 @@ if (event.type() == Clutter.EventType.TOUCH_END || event.type() == Clutter.EventType.BUTTON_RELEASE) + if (Main.overview.shouldToggleByCornerOrButton()) Could && the condition instead of using nested ifs
Attachment 313871 [details] pushed as 0c72d1f - ActivitiesButton: fix overview being toggled while still animating