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 599926 - multihead fullscreen hides activities panel
multihead fullscreen hides activities panel
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 597723 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-28 16:33 UTC by Florian Scandella
Modified: 2009-12-01 18:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
only hide chrome if fullscreen window is on the same monitor (1.03 KB, patch)
2009-11-29 13:33 UTC, Florian Scandella
needs-work Details | Review
merge if statements (1.96 KB, patch)
2009-12-01 00:28 UTC, Florian Scandella
committed Details | Review

Description Florian Scandella 2009-10-28 16:33:29 UTC
hi, i was testing gnome-shell git the other day. it's very nice und works very well, but there is one thing that's bugging me:
if i run an application (eg tvtime) fullscreen on the second head, the activities panel on the primary head disappears.
Comment 1 Dan Winship 2009-11-12 23:07:06 UTC
*** Bug 597723 has been marked as a duplicate of this bug. ***
Comment 2 Florian Scandella 2009-11-29 13:33:44 UTC
Created attachment 148687 [details] [review]
only hide chrome if fullscreen window is on the same monitor

testing the window coordinates/dimensions, as i did not find a definition of the fullscreen_screen per window. tested with transparent fullscreen gnome-terminal.
Comment 3 Dan Winship 2009-11-30 21:16:23 UTC
Comment on attachment 148687 [details] [review]
only hide chrome if fullscreen window is on the same monitor

the OVERRIDE_REDIRECT clause is incorrect too; it should also be checking against the primary monitor, not the screen.

also, it would be nicer if you only called global.get_primary_monitor() once, outside the loop.
Comment 4 Florian Scandella 2009-12-01 00:28:09 UTC
Created attachment 148798 [details] [review]
merge if statements

i merged the if statements, because the same conditions apply. primary monitor should not change between windows, so i pulled it out of the loop.
Comment 5 Dan Winship 2009-12-01 17:27:40 UTC
committed with whitespace fixes. Thanks for the patch
Comment 6 Florian Scandella 2009-12-01 17:37:40 UTC
for eventual future patches .. what's the rule on whitespaces? tabs? space only?
Comment 7 Dan Winship 2009-12-01 17:59:36 UTC
spaces only. the whitespace problem that i fixed here was trailing whitespace on several lines. (at the end of the "let primary = ..." line, the blank line after it, and at the end of the "OVERRIDE_REDIRECT ||" line)

if you have git configured to use color ("git config --global color.ui auto") then it will highlight trailing whitespace in red in a "git diff" so it's really obvious
Comment 8 Florian Scandella 2009-12-01 18:03:29 UTC
ok, thx