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 641533 - Workspace: don't show window overlays when leaving the overview
Workspace: don't show window overlays when leaving the overview
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Florian Müllner
gnome-shell-maint
: 641683 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-02-04 19:21 UTC by Rui Matos
Modified: 2011-02-10 21:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Workspace: don't show window overlays when leaving the overview (1.14 KB, patch)
2011-02-04 19:21 UTC, Rui Matos
needs-work Details | Review
workspace: doesn't show WindowOverlay during zoomFromOverview (2.35 KB, patch)
2011-02-09 23:50 UTC, Maxim Ermilov
committed Details | Review

Description Rui Matos 2011-02-04 19:21:42 UTC
If the user triggers the leaving of the overview while the animation to enter
it is still going we call hide() on the window overlays' actors but
_showWindowOverlay() was already scheduled to run on completion of the
animation to enter the overview. This causes the window overlays' actors to be
shown while the animation to get out of the overview is going which looks bad.
Comment 1 Rui Matos 2011-02-04 19:21:45 UTC
Created attachment 180102 [details] [review]
Workspace: don't show window overlays when leaving the overview
Comment 2 Owen Taylor 2011-02-04 19:41:38 UTC
Review of attachment 180102 [details] [review]:

This is what the 'coverPane' is about in overview.js - it seems to work correctly when entering the overview but not when leaving, so that needs to be debugged. (I think Florian and I discuss it somewhere in bug 634948 but can't find it in a few seconds of looking.)
Comment 3 Owen Taylor 2011-02-07 17:33:39 UTC
*** Bug 641683 has been marked as a duplicate of this bug. ***
Comment 4 Florian Müllner 2011-02-07 17:36:51 UTC
(In reply to comment #2)
> Review of attachment 180102 [details] [review]:
> 
> This is what the 'coverPane' is about in overview.js - it seems to work
> correctly when entering the overview but not when leaving, so that needs to be
> debugged. (I think Florian and I discuss it somewhere in bug 634948 but can't
> find it in a few seconds of looking.)

You are probably referring to bug 635237 here.
Comment 5 Maxim Ermilov 2011-02-07 20:32:13 UTC
> This is what the 'coverPane' is about
It is not related with events.

It caused by intersection of two animations. 
handler onComplete workspace.js:1010 (positionWindows called by zoomToOverview) executed after zoomFromOverview.

patch https://bugzilla.gnome.org/attachment.cgi?id=180257 solve this problem
Comment 6 Maxim Ermilov 2011-02-09 23:50:06 UTC
Created attachment 180536 [details] [review]
workspace: doesn't show WindowOverlay during zoomFromOverview

merge with HEAD
Comment 7 drago01 2011-02-10 11:23:09 UTC
Review of attachment 180536 [details] [review]:

Looks good and works fine here, should fix the subject though i.e s/doesn't/don't/ .