GtkScrollbar requisition problems

Hi Tim,

There is a problem with the current code in
gtk_scrolled_window_size_request(). The requisition is computed
(in some cases) as:

 usize set on child + scrollbars size if visible

The problem is that (in the case where a usize is set on the
child) is that the requested sizse depends on the allocation.
In some cases (guname in Japanese is an example) this can
trigger infinite loops of resizes.

That the requested size cannot depend on the allocation is
a fundemental rule in GTK+, so this needs to be fixed.

The current code is so incredibly complicated and confusing
that I think it will have to be rewritten from scratch, but
I'd be interested to hear your opinion on this matter.


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