GNOME Bugzilla – Bug 745824
Tray icon visible on the left screen if right is primary
Last modified: 2015-03-22 08:35:20 UTC
Created attachment 298787 [details] floating status icons Legacy tray icons show "stashed" in a drawer on the bottom left of the primary screen. The problem is when there's a monitor visible on the left of the primary screen. It will show the status icons floating on the screen to the left of the primary screen. See the attached screenshot.
*** Bug 746371 has been marked as a duplicate of this bug. ***
*** Bug 746477 has been marked as a duplicate of this bug. ***
*** Bug 746486 has been marked as a duplicate of this bug. ***
Created attachment 299900 [details] [review] gtk-embed: Handle unmap/map of the embedded window The current code assumes that an embedded window will correspond to a single MetaWindow over the entire lifetime of the icon, which is incorrect - the embedded window is unmanaged on Unmap and a new MetaWindow will be created the next time the embedded window is mapped. As we currently ignore the new MetaWindow completely, it will be shown normally in the scene instead of the embedded clone as intended. Fix this by setting up clone and window actor each time the embedded window is mapped rather than once in shell_gtk_embed_set_window().
Proposed patch fixes the issue for me. Thanks.
Review of attachment 299900 [details] [review]: This code is a maze. But, right, looks good. Probably worth a code freeze break given the number of bug reports
Freeze break request was approved, pushing. Attachment 299900 [details] pushed as 169b00a - gtk-embed: Handle unmap/map of the embedded window