GNOME Bugzilla – Bug 85037
metacity doesn't maximize certain apps (xterm, vim) to full desktop size
Last modified: 2004-12-22 21:47:04 UTC
I don't know if this is a bug or if metacity is just doing the Right Thing but here it goes: metacity doesn't maximize certain apps which use fixed fonts (like xterm and vim) to the full desktop size. It seems like these apps just like an integer number of lines their size sometimes doesn't fit exactly on the desktop. The problem is that metacity tries to center them in the desktop. This makes the minimize/maximize/close buttons slightly below the upper right corner, and you can even see (and click) on the buttons of lower windows. This is particular confusing on the atlanta theme. Check the snapshot for a example. This is only noticed whith certain combinations of themes and dektop sizes.
Created attachment 9171 [details] Screen shot
Yeah this apps have constraints on sizes they are willing to be. So Metacity can't make them quite the right size. Perhaps Metacity should not center in the vertical direction (always put the titlebar all the way to the top).
If the window manager behavior in these situations isn't specified by any standard, then I'm in favor of that too, FWIW. Most (if not all) the themes I've seen to date put the window buttons somewhere on the top of the window, so by doing that it won't break the consistency on the absolute positioning of the windows buttons in the majority of the cases.
It now does align the window to the top of the screen.