[Bug 133260] Small mode horribly broken in sawfish

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Fri, 22 Apr 2005 06:27:31 -0400 (EDT)


Please DO NOT reply to this by email. All additional comments should be m=
ade in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=3D133260
 rhythmbox | Interface | Ver: HEAD





------- Additional Comments From Jean-Christophe Dubacq  2005-04-22 06:27=
 -------
I have been investigating this problem. The trouble is in rhythmbox becau=
se
apart from setting the height to 1, it also sets the maximum size to 3000=
x0
which is transformed by gtk in a max size of 3000x1. Why would it do that=
?


                hints.max_height =3D 0;
                hints.max_width =3D 3000;
                gtk_window_set_geometry_hints (GTK_WINDOW (shell->priv->w=
indow),
                                               NULL,
                                                &hints,
                                                GDK_HINT_MAX_SIZE);

As a consequence, sawfish sets the size based on hints that are:
configure: dims (812 . 225) hints ((window-gravity . north-west) (max-wid=
th .
3000) (max-height . 1) (min-width . 331) (min-height . 72)) safey 1

Please note the contradiction in max-height and min-height.

Maybe metacity acts first upon max-height then upon min-height. Sawfish (=
and
waimea does the opposite).

Therefore, rhythmbox should not do this.

Jean-Christophe Dubacq -- jcdubacq1@free.fr

------- You are receiving this mail because: -------
You are on the CC list for the bug.