Red Hat Bugzilla – Bug 297051
Window manager doesn't centre properly with one panel
Last modified: 2014-06-18 05:09:41 EDT
Description of problem:
If one of the panels is removed, windows are no longer centred correctly in
relation to the usable space of the desktop. They are centred in relation to the
whole screen, which is not intuitive. This bug probably wasn't spotted because
Gnome ships two panels of identical height, one on top and one at the bottom,
therefore hiding this behaviour.
Version-Release number of selected component (if applicable):
Always (also in F7).
Steps to Reproduce:
1. Remove bottom panel.
2. Start program such as Terminal or Text Editor.
Windows are not centred intuitively (i.e. in relation to available usable
space), but rather in relation to the whole screen.
Windows should be centred in relation to available space, which is whole screen
less any panels.
At least in F7, this affects compiz as well. I didn't test compiz on F8T2,
because the hardware I used isn't supported.
BTW, this is also a problem when using compiz. The best test is using Text Editor.
This is still the same in F-10.
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
I think you are getting confused because the Metacity behavior is to:
- Center horizontally
- Split whitespace as 1/3 above and 2/3 below
I'm not sure the exact reasoning of the 1/3 2/3 split, but I assume it was considered more visually pleasing than vertical centering.
(This is if only one copy of the window would fit in the available space, if the window could be tiled, then what it does is figures how how many copies of the window could fit in and positions things so that the entire group will be centered as above. E.g., if 4 terminals would fit, then a 2x2 grid of terminals will be centered as above, so the first terminal will be near, but not exactly at the upper left corner.)
If I make my top panel really bug - 128px say, the 1/3 and 2/3 relationship for empty space still seems to hold as near as I can measure it with my fingers, so I think the "work area" - the area between the panels - is being properly respected.
Right. OK then.