After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664201 - "New workspace" indicator sometimes gets stuck
"New workspace" indicator sometimes gets stuck
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-11-16 13:53 UTC by Florian Müllner
Modified: 2012-01-17 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
various fixes (5.55 KB, patch)
2011-11-20 17:32 UTC, Stefano Facchini
none Details | Review
hide the placeholder when pointer is not hovering (1.31 KB, patch)
2011-11-23 10:55 UTC, Stefano Facchini
none Details | Review
hide the placeholder when pointer is not inside the pager (2.26 KB, patch)
2011-11-24 14:23 UTC, Stefano Facchini
none Details | Review
hide the placeholder when pointer is not inside the pager (2.36 KB, patch)
2011-11-24 14:35 UTC, Stefano Facchini
none Details | Review
workspaceThumbnail: add a drag monitor and give a chance to do something on leave (2.62 KB, patch)
2011-11-27 17:33 UTC, Stefano Facchini
reviewed Details | Review
workspaceThumbnail: clear the drop placeholder when pointer leaves the selector (2.10 KB, patch)
2011-12-22 09:36 UTC, Stefano Facchini
none Details | Review
workspaceThumbnail: clear the drop placeholder when pointer leaves the selector (2.62 KB, patch)
2011-12-22 09:43 UTC, Stefano Facchini
none Details | Review
workspaceThumbnail: clear the drop placeholder on pointer leave (2.60 KB, patch)
2012-01-17 14:39 UTC, Stefano Facchini
committed Details | Review

Description Florian Müllner 2011-11-16 13:53:39 UTC
In the workspace switcher, a "new workspace" indicator is shown when dragging a window between two existing workspaces; the indicator is only removed when hovering a workspace preview, but not when leaving the switcher (e.g. when returning the window to the window previews area)
Comment 1 Stefano Facchini 2011-11-20 17:32:25 UTC
Created attachment 201750 [details] [review]
various fixes

Hi,
the patch contains a fix for this bug and a couple of minor misbehaviors:
1. "Bouncing" of the placeholder when dragging something above the first thumbnail
2. The cursor is not always updated correctly and the drop targets are somewhat incorrect because coordinates relative to the actor are treated as stage coordinates.
Comment 2 Stefano Facchini 2011-11-23 10:55:43 UTC
Created attachment 201985 [details] [review]
hide the placeholder when pointer is not hovering
Comment 3 Stefano Facchini 2011-11-23 11:03:54 UTC
the other bugs are reported here:

https://bugzilla.gnome.org/show_bug.cgi?id=664625
https://bugzilla.gnome.org/show_bug.cgi?id=664622
Comment 4 Stefano Facchini 2011-11-24 14:23:03 UTC
Created attachment 202057 [details] [review]
hide the placeholder when pointer is not inside the pager

maybe imitating the Dash is a better, self-contained approach
Comment 5 Stefano Facchini 2011-11-24 14:35:25 UTC
Created attachment 202060 [details] [review]
hide the placeholder when pointer is not inside the pager

forgot to remove the drag monitor... sorry for the noise
Comment 6 Stefano Facchini 2011-11-27 17:33:47 UTC
Created attachment 202245 [details] [review]
workspaceThumbnail: add a drag monitor and give a chance to do something on leave

This is useful to clear the drop placeholder when the pointer
leaves the selector. It will also be used to handle a drop target
indicator.
Comment 7 Florian Müllner 2011-12-21 22:30:13 UTC
Review of attachment 202245 [details] [review]:

Looks right to me - the commit message (in particular the subject) could use some improvements before committing (the drag monitor is more of an implementation detail and probably better off in the body, and "do something" is a tad bit generic ;-)
Comment 8 Stefano Facchini 2011-12-22 09:36:02 UTC
Created attachment 204075 [details] [review]
workspaceThumbnail: clear the drop placeholder when pointer leaves the selector

We add a drag monitor to check whether the pointer is inside
the workspace selector, and update the visibility of the drop
placeholder consequently.
Comment 9 Stefano Facchini 2011-12-22 09:43:49 UTC
Created attachment 204077 [details] [review]
workspaceThumbnail: clear the drop placeholder when pointer leaves the selector

We add a drag monitor to check whether the pointer is inside
the workspace selector, and update the visibility of the drop
placeholder consequently.
Comment 10 Stefano Facchini 2012-01-17 14:39:43 UTC
Created attachment 205447 [details] [review]
workspaceThumbnail: clear the drop placeholder on pointer leave

We add a drag monitor to check whether the pointer is inside
the workspace selector, and update the visibility of the drop
placeholder consequently.
Comment 11 Florian Müllner 2012-01-17 14:46:40 UTC
Attachment 205447 [details] pushed as f59018f - workspaceThumbnail: clear the drop placeholder on pointer leave
Comment 12 Allan Day 2012-01-17 15:24:56 UTC
Yay, thanks for the patch Stefano!