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 133145 - Maximising gvim obscures part of its status line
Maximising gvim obscures part of its status line
Status: RESOLVED WONTFIX
Product: metacity
Classification: Other
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 497094 (view as bug list)
Depends on:
Blocks: 155458
 
 
Reported: 2004-02-01 20:50 UTC by Tony Houghton
Modified: 2007-11-18 21:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Screenshot of problem (43.25 KB, image/png)
2004-02-02 00:13 UTC, Tony Houghton
Details

Description Tony Houghton 2004-02-01 20:50:19 UTC
When I maximise gvim (GTK+ 2 version) it seems to think there's more
vertical space than there really is, so it sometimes tries to display one
more row than it can actually fit all of, depending on font, screen size
etc. This results in half of its status line being obscured either off the
bottom of the screen or by the Gnome panel.

I noticed this because the settings I started using recently:- Metacity
Simple theme, Gnome icon Bluecurve theme, Gnome panel height 36, screen
size 1024x768, gvim font LucidaTypewriter 11 - caused the right set of
circumstances. Merely changing the icon theme to Simple cures it, but
changing the font size/family in gvim can make it resurface.

I reported it on vim-dev first, but Bram Moolenaar thinks it's a wm bug.
Comment 1 Rob Adams 2004-02-01 20:56:50 UTC
screenshot?
Comment 2 Tony Houghton 2004-02-02 00:13:10 UTC
Created attachment 23951 [details]
Screenshot of problem
Comment 3 Tony Houghton 2004-02-02 00:15:22 UTC
If the left edge of the screenshot looks odd, ignore it, I use
Xinerama and trimmed off the extra screen with Gimp, so I might have
been out by the odd pixel.

I got some terminology wrong in my first report too, I meant controls
theme where I put icon theme.
Comment 4 Rob Adams 2004-02-02 01:05:22 UTC
Hmmm.  Kinda looks like it's exactly one line too long.  The funny
thing is that metacity doesn't try to enforce size increment
constraints in maximized windows any more.  What version of metacity
are you using there (metacity --version)?  Can you get this to happen
with other windows (xterm, gnome-terminal, emacs, etc)?
Comment 5 Tony Houghton 2004-02-02 12:44:54 UTC
I'm using metacity 2.6.3. I haven't been able to reproduce the bug
with gnome-terminal, sawfish or kwm, but I could try harder!

I had another thought, perhaps it's something to do with the bottom
edge of the window frame disappearing when maximised. I've only ever
seen metacity do that as well.

It could still be a gvim bug, but one that's unique to metacity.
Comment 6 Rob Adams 2004-02-02 16:40:17 UTC
no I'm pretty sure it's a metacity bug.
Comment 7 Egmont Koblinger 2005-01-15 11:20:34 UTC
Yes, it is a metacity bug. As Rob said, "metacity doesn't try to enforce size
increment constraints in maximized windows any more" which I believe is a
nasty bug. (I have gnome 2.8.2 with metacity 2.8.8.)

This bug causes other applications, e.g. vte (gnome-terminal) and xchat to
misbehave, see it described in details here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104768
Comment 8 Rob Adams 2005-01-15 16:15:57 UTC
I think originally when I looked at that screenshot I had thought that metacity
was sizing the window so that it went behind the panel.  But looking at it
again, I think that actually the window has the correct size and that it's gvim
that's misbehaving.  The specifications on size increment hints are quite clear
that the application must not _depend_ on the window manager enforcing them all
the time.
Comment 9 Egmont Koblinger 2005-01-15 23:15:36 UTC
I haven't read any specifications but I trust you and believe that these
size hints are hints only and not requirements.

However, we do have at least three applications by now that are known to
misbehave in this situation. So even if they are all buggy and even if we're
trying to get their maintainers fix them, it would be nice if metacity
worked around this issue by choosing a size that honours the hint.

So even if it's not a metacity bug, please at least consider it as a metacity
feature request :)
Comment 10 Havoc Pennington 2005-01-16 00:22:19 UTC
Everyone and their extended family reported the other behavior (enforce the grid
hint for maximized windows) as a bug, and I don't think toggling our behavior
every release depending on who complains makes sense. These apps will just have
to be fixed to do something sensible when given extra space. We are doing the
same thing as KWin iirc so this is the standard desktop behavior, and it's
allowed by the specs.
Comment 11 Olav Vitters 2007-11-18 21:11:05 UTC
*** Bug 497094 has been marked as a duplicate of this bug. ***