I've been looking into this bug for a little bit and from what I see so
far, I'm not sure where to take this.  I know when this happens.  It
happens in view_toggle_rulers_callback( ... ) on the call to
gdk_widget_queue_resize( ... ).  Tracing things through gdb, it appears
as though the actual size of the window is never updated within the
structs.
On initial startup opening a new canvas at whatever the default size is,
I get for requisition = {width = -16784, height = 16399},alloocation =
{x = -5392, y = 16399, width = 62112, height = 16414} for the widget.  I
then rulers off and get the exact same results.  Next I resize the
window and turn the rulers on and again get the same results.  I just
appears to me as though when the window is resized the widget struct is
not getting updated to the new size so when we call
gtk_widget_queue_resize( ... ) it has the old size in the struct and not
what it has been changed to.

Any of this make sense or am I just talking out my a$$?

--
Jonathan W. Rose           Yesterday is but a dream, tomorrow is only a vision.
                           But today, well lived, makes every yesterday a dream
                           of happiness, and every tomorrow a vision of hope.
                                   -The Sanskrit



Reply via email to