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 648983 - workspace opacity is wrong after canceled drag
workspace opacity is wrong after canceled drag
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-04-29 21:27 UTC by drago01
Modified: 2011-04-29 22:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
workspacesView: Don't change opacity during dnd (2.82 KB, patch)
2011-04-29 21:28 UTC, drago01
committed Details | Review

Description drago01 2011-04-29 21:27:38 UTC
Steps to reproduce:

1) Have at least 2 workspaces (with at least one window on each)
2) Drag a window on workspace 1 and cancel the drag (i.e release the button)
3) Switch to the adjacent workspace
4) Notice that the opacity is wrong (it fixes itself after leaving the overview or imitating another drag action on that workspace).

While debugging that I noticed that the code that is responsible for that bug is no longer needed (is from the pre overview re layout days) so it can be removed (see patch).
Comment 1 drago01 2011-04-29 21:28:04 UTC
Created attachment 186907 [details] [review]
workspacesView: Don't change opacity during dnd

We used used to indicate to the user the ability to move to another workspace
during dnd by highligthing the adjacent workspaces on hover.

This was done by changing the workspace's opacity to 200 and set it to
255 for the highlighted adjacent ones.

This is now no longer needed as the design was completely changed since
then (overview relayout; we no longer represent workspaces in the way
we did before) and introduces a bug where we don't properly reset the
opacity after the drag action, so just remove that code.
Comment 2 Florian Müllner 2011-04-29 22:02:22 UTC
Review of attachment 186907 [details] [review]:

Looks good to me ("overview relayout" in the commit message is a bit generic, but OK - the decisive change was to increase the spacing between workspaces while zoomed out, so that adjacent workspaces are no longer visible - this was part of the vertical layout series, iirc)
Comment 3 drago01 2011-04-29 22:04:18 UTC
Attachment 186907 [details] pushed as 56d584b - workspacesView: Don't change opacity during dnd