Re: bug in gtk_adjustment_clamp_page()?

Am 26.11.2015 um 16:24 schrieb jcupitt gmail com:
Or maybe I've misunderstood what clamp_page is for. Is this a bug?

The context here is tabbing focus into a scrolled window triggers
gtk_adjustment_clamp_page(), which always scrolls back to the left/top
because of these swapped tests. I'm working on an image viewer and I
obviously don't want to move the image around when I tab into that

If I swap the < and >, everything seems to work for me at least.

I can't tell if that's the fix, but I also experience the erroneous behaviour you describe.

Best regards

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