Re: gtk_window_set_policy bug?




Eric Harlow <linuxgeek@yahoo.com> writes:

> I recently upgraded to gtk+ 1.1.15 and was testing it with each of my
> applications anxiously anticipating 1.2. (Can you guys give 1.2 a name
> like gnome's "Bovine" series?)
> 
> Anyway, gtk_window_set_policy used to work fine in an earlier version
> of GTK+, but now, setting the allow_grow parameter to FALSE causes the
> widgets created within the application window to appear in the upper
> left hand corner of the screen - outside of the application window.  

Could you provide code to replicate this?

This symptom has been seen before when creating windows with a 
maximum size of 0 x 0 under fvwm2. The only code I've seen that
triggers this probably under GTK+ was doing some highly 
non-kosher things.

If there is legitimate code that manages to do this, perhaps
there is something in GTK+ that needs to be fixed. (GTK+,
should probably refuse to set a maximum size hints of 0 x 0 in any
case, since X windows are constrained to have non-zero
dimensions)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]