Bug 105855 - Even basic window sizing is now mishandled by Metacity
Summary: Even basic window sizing is now mishandled by Metacity
Alias: None
Product: Fedora
Classification: Fedora
Component: metacity   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-09-28 14:18 UTC by Alan Cox
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-03 18:36:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Alan Cox 2003-09-28 14:18:14 UTC
Metacity has always had problems with automatic size limiting and things like
the panel. The version in severn still has all of these nasty bugs and another
even worse one

Open a terminal window, place it at the top of the screen
Drag the bottom downwards, it goes behind the panel
Now try getting it back without using magic keypresses or reconfiguring the panel

Metacity has always had too many traps for its alleged target audience, this one
exceeds the others by a large margin.

Metacity's inability to do basic window sizing needs fixing properly, and
preferably before Fedora release, especially the bad bugs like this

Comment 1 Havoc Pennington 2003-09-29 01:27:42 UTC
Thank you for the lecture, I hadn't noticed the bugs should be fixed.

Go into src/constraints.c and help me with the math, if you want to help.

Comment 2 Havoc Pennington 2003-09-29 01:37:57 UTC
That said, I can't reproduce the problem. You are saying the titlebar goes under
the top panel or you can move the bottom edge of the terminal below the bottom

I assumed the former, however it doesn't happen to me.
The latter (able to move bottom edge below the bottom panel) is intended
behavior at the moment. It's also always been the behavior as far as I remember.
The constraint is "menu button on top-left of titlebar is onscreen" basically
and has been forever, the implementation just keeps getting modified.

Re: your generalizations, the only other bug I know of from you is "does not
force windows to fit on screen at map time." Also, 2.6.x does fix several bad
resize bugs. One can be reproduced in 2.4.x by pushing a window against the top
of the screen and resizing it from the top edge. Another by trying to resize a
window with no minimum size. Another by trying to use window gravities. The
primary bug introduced by the new code is some keyboard resize funkiness,
especially with terminals; and some problems with certain apps resizing themselves.

Comment 3 Josh Douglas 2003-10-02 18:11:10 UTC
It seems to me to be undesirable behavior. Why would there be a reason to resize
a window to extend below the panel?

Comment 4 Havoc Pennington 2004-11-03 18:36:05 UTC
Not sure what is still left here. Please file new bugs on specific
issues if any remain in FC3.

Comment 5 Alan Cox 2004-11-09 13:25:12 UTC
Ok I'll open a new one because its all stil broken in FC3, just like
the focus handling.

Note You need to log in before you can comment on or make changes to this bug.