Bug#255977: libgtk2.0-0: gtk2 gets caught in infinite loop while scrolling

Loïc Minier Loïc Minier , 255977@bugs.debian.org
Fri, 15 Oct 2004 21:19:38 +0200


     Hi,

Jason Dorje Short <jdorje@users.sourceforge.net> - Thu, Jun 24, 2004:

> I have an application using libgtk2, with horizontal and vertical 
> scrolling.  The horizontal scrolling wraps via the scroll callback 
> mechanism (yes, this is a bit ugly).  Because of a bug in the program, 
> the vertical scrolling (which doesn't wrap) has a scroll slider that is=
 
> bigger than the range of scrolling (well maybe this isn't a bug, but 
> it's certainly not pretty).  Now when this happens (and only when this 
> happens) when the horizontal scroll wraps the gtk callbacks get stuck i=
n 
> a loop jumping back and forth.  Although this setup is definitely wrong=
 
> I think the loop is still a gtk2 bug.

 Do you still experience this with recent GTK?

> If necessary I can give source code for the program and exact 
> instructions on reproducing the problem.

 Yes, please provide a sample source code.

-- 
Loïc Minier <lool@dooz.org>