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 694038 - Fix hot-corner hover regression while in the message tray
Fix hot-corner hover regression while in the message tray
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-17 18:55 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-05-09 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
grabHelper: Fix indentation (803 bytes, patch)
2013-02-17 18:55 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
grabHelper: Ignore actors that we've already added (916 bytes, patch)
2013-02-17 18:55 UTC, Jasper St. Pierre (not reading bugmail)
reviewed Details | Review
messageTray: Re-add the hotcorner when the panel is updated (1.63 KB, patch)
2013-02-17 18:55 UTC, Jasper St. Pierre (not reading bugmail)
reviewed Details | Review
messageTray: Drop more special overview handling (2.34 KB, patch)
2013-02-17 18:55 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
messageTray: Drop more special overview handling (2.44 KB, patch)
2013-02-17 18:57 UTC, Jasper St. Pierre (not reading bugmail)
reviewed Details | Review
messageTray: Re-add the hotcorner when the panel is updated (2.13 KB, patch)
2013-02-18 09:33 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
messageTray: Drop more special overview handling (2.44 KB, patch)
2013-02-18 09:33 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
messageTray: Jiggle some code around (1.23 KB, patch)
2013-02-18 09:33 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
messageTray: Don't allow opening while entering/leaving the overview (1.46 KB, patch)
2013-02-18 09:33 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
messageTray: Re-add the hotcorner when the panel is updated (2.58 KB, patch)
2013-02-18 09:36 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-02-17 18:55:00 UTC
This isn't really a "regression" since it never worked properly
in a stable version of the Shell, but it was designed behavior.

See patches.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-02-17 18:55:02 UTC
Created attachment 236476 [details] [review]
grabHelper: Fix indentation
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-02-17 18:55:05 UTC
Created attachment 236477 [details] [review]
grabHelper: Ignore actors that we've already added
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-02-17 18:55:08 UTC
Created attachment 236478 [details] [review]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-02-17 18:55:10 UTC
Created attachment 236479 [details] [review]
messageTray: Drop more special overview handling
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-02-17 18:57:24 UTC
Created attachment 236480 [details] [review]
messageTray: Drop more special overview handling

Fix broken graphics when you hit the hot corner while in the message
tray in the overview.
Comment 6 Giovanni Campagna 2013-02-17 19:14:14 UTC
Review of attachment 236476 [details] [review]:

Sure.
Comment 7 Giovanni Campagna 2013-02-17 19:15:05 UTC
Review of attachment 236477 [details] [review]:

In what situation is it possible that we call addActor with the same actor twice?
Comment 8 Giovanni Campagna 2013-02-17 19:16:46 UTC
Review of attachment 236478 [details] [review]:

Isn't this still dependent on signal connection order?
Are we guaranteed that MessageTray will connect after Panel? At the very least, a comment in Main is needed.
Comment 9 Giovanni Campagna 2013-02-17 19:18:45 UTC
Review of attachment 236480 [details] [review]:

::: js/ui/messageTray.js
@@ +2388,3 @@
         if (this._desktopClone)
             this._desktopClone.destroy();
+        let cloneSource = Main.overview.visible ? global.overlay_group : global.window_group;

overviewVisible is used to become true at showing, so before Main.overview.visible if the overview is animating.
I think you want visibleTarget here.
Comment 10 Jasper St. Pierre (not reading bugmail) 2013-02-17 19:19:19 UTC
(In reply to comment #7)
> Review of attachment 236477 [details] [review]:
> 
> In what situation is it possible that we call addActor with the same actor
> twice?

Session mode is updated, and we'll re-add the activities button.

(In reply to comment #8)
> Review of attachment 236478 [details] [review]:
> 
> Isn't this still dependent on signal connection order?

Yes. Do you have any other suggestions on how to do these interdependencies? Add and connect to a 'panel-layout-changed' signal?
Comment 11 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:33:22 UTC
Created attachment 236563 [details] [review]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.
Comment 12 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:33:25 UTC
Created attachment 236564 [details] [review]
messageTray: Drop more special overview handling
Comment 13 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:33:27 UTC
Created attachment 236565 [details] [review]
messageTray: Jiggle some code around

This is to put state management with state management
Comment 14 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:33:30 UTC
Created attachment 236566 [details] [review]
messageTray: Don't allow opening while entering/leaving the overview

The complex overview transition code means that there's no easy
way to handle with this right now. Blocking the message tray
while the overview is animating seems like the correct thing to do.
Comment 15 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:36:43 UTC
Created attachment 236567 [details] [review]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.
Comment 16 Jasper St. Pierre (not reading bugmail) 2013-02-18 09:37:02 UTC
Comment on attachment 236476 [details] [review]
grabHelper: Fix indentation

Attachment 236476 [details] pushed as 6ffe3a4 - grabHelper: Fix indentation
Comment 17 Giovanni Campagna 2013-02-18 13:04:24 UTC
Review of attachment 236564 [details] [review]:

Yes (after IRC discussion)
Comment 18 Giovanni Campagna 2013-02-18 13:05:31 UTC
Review of attachment 236565 [details] [review]:

Maybe squash with the next one?

(ACN if you don't want to)
Comment 19 Giovanni Campagna 2013-02-18 13:05:56 UTC
Review of attachment 236566 [details] [review]:

Yes.
Comment 20 Giovanni Campagna 2013-02-18 13:06:21 UTC
Review of attachment 236567 [details] [review]:

Ok
Comment 21 Jasper St. Pierre (not reading bugmail) 2013-02-18 19:44:08 UTC
Attachment 236564 [details] pushed as f3901eb - messageTray: Drop more special overview handling
Attachment 236565 [details] pushed as 4a3a61b - messageTray: Jiggle some code around
Attachment 236566 [details] pushed as ee62863 - messageTray: Don't allow opening while entering/leaving the overview
Attachment 236567 [details] pushed as b53d1df - messageTray: Re-add the hotcorner when the panel is updated