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 343115 - gnome-panel showing in fullscreen apps
gnome-panel showing in fullscreen apps
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.14.x
Other All
: High major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 350547 351643 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-27 15:10 UTC by onip
Modified: 2006-10-19 11:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch that may fix the fullscreen issues (6.88 KB, patch)
2006-08-20 02:20 UTC, Elijah Newren
committed Details | Review

Description onip 2006-05-27 15:10:17 UTC
Please describe the problem:
When I open blender panels would'n be covered by blender but will show up
reducing usable area. Same problem occurs with acrobat reader.

Here is a screen
http://onip.altervista.org/_altervista_ht/gnome-panel.png

If it won't work than just copy and paste the address in a new browser tab or window

Steps to reproduce:
1. Open Blender
2. 
3. 


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Olav Vitters 2006-05-27 15:25:42 UTC
So you use a window manager other than Metacity (the default)?
Comment 2 onip 2006-05-29 08:29:02 UTC
I'm currently using metacity-2.14.3
Comment 3 Vincent Untz 2006-05-29 20:25:25 UTC
How do you make the application full screen? Does it work if you use metacity to do it (using a keybinding you can set in the keybinding properties)?
Comment 4 onip 2006-05-30 08:29:31 UTC
Blender starts without window decoration and extends itself to the whole area, limited by panels. Acroread has its own window decorations, as usual. If I make acroread fullscreen via his menu it would still be limited by panels, while window control disappears. Then if a make "normal" blender or "fullscreen" acroread go fullscreen via keybinding they will take all the screen area, going over panels.

I can remember that this last behaviour used to be the default behaviour in past gnome versions.

p.s. I hope I was understandable enough, sorry my poor english
Comment 5 onip 2006-07-17 20:17:48 UTC
Could this one be a metacity bug? Maybe someone could notify this to metacity guys, I don't know how to do this

Thanks
Comment 6 Elijah Newren 2006-08-20 02:19:25 UTC
So:

metacity <= 2.12.x didn't force windows to fit on the workarea (single screen size minus area occupied by things like panels), which annoyed lots of users.

old and new metacity has some code to try to work around braindead apps by checking if they are fullscreen size and, if so, treating them as being fullscreen even if they haven't properly entered that state.  (Though, metacity would still think of them as being "not fullscreen" in some ways (e.g. constraints) while treating them as fullscreen in others)

metacity >= 2.14.x forces windows to fit on the workarea (unless moved by the user...).  Thus, windows *can't* be fullscreen size without entering the fullscreen state correctly (so, the above workaround for braindead apps was useless).

constrain_fully_onscreen() has a bug in that it gets applied to fullscreen windows even though it shouldn't be.  That can be a problem if the window is considered to be decorated.

metacity 2.15.21 introduced constrain_titlebar_visible(), which, like constrain_fully_onscreen() gets applied to fullscreen windows even though it shouldn't.

There's around 3 to 4 above, depending on how you count.  I'll attach a patch in a minute which I think should fix them (and should allow us to close out bug 346927 and bug 350547).  I'd appreciate testers first, though.
Comment 7 Elijah Newren 2006-08-20 02:20:33 UTC
Created attachment 71225 [details] [review]
Patch that may fix the fullscreen issues
Comment 8 Elijah Newren 2006-08-21 03:00:52 UTC
*** Bug 350547 has been marked as a duplicate of this bug. ***
Comment 9 onip 2006-08-21 15:18:00 UTC
I'll try the patch as soon as possible, thanks
Comment 10 Olav Vitters 2006-08-21 16:47:20 UTC
*** Bug 351643 has been marked as a duplicate of this bug. ***
Comment 11 Elijah Newren 2006-08-21 18:11:56 UTC
Committed so that I can get it into the release that's due today, thanks for testing Olav, Baptiste, and Wouter!
Comment 12 onip 2006-10-19 11:33:33 UTC
(In reply to comment #9)
> I'll try the patch as soon as possible, thanks
> 

Finally I upgraded to gnome-2.16. Issue is fixed
Thanks