Re: Smooooth scrolling gtk



Hi!,

On Thu, 2008-03-27 at 13:34 +0000, Paul LeoNerd Evans wrote:
> On Thu, Mar 27, 2008 at 09:38:37AM +0100, Xavier Bestel wrote:
> > > A very long time ago (over half a decade actually!) Søren Sandmann
> > > posted a patch[1] that added smooth scrolling to gtk. For some reason
> > > that patch was never integrated in mainline, but at least Gentoo
> > > patched their gtk with it.
> > +1
> 
> Aren't there noises afoot for a more generic "animated UIs" framework
> coming to GTK? ((A certain amount of Apple fanboyism I suspect ;) ))

Yes, there's some ongoing discussion in bug #444659

> 
> In any case, if such a framework does appear, surely a "smooth scroll"
> will fall out of it as a natural consequence, and doesn't need
> consideration separately?

I tried some time ago to make smooth scrolling work through GtkTimeline,
but couldn't make GtkTextView behave nicely with it, its exotic usage of
adjustments broke cursor handling when scrolling with the keyboard. I
still have to test this patch to see whether that still happens, if it's
necessary, I got some code towards fixing these.

Regarding using the timeline, it probably makes sense, although it was a
bit strange to use for animations with indefinite (and constantly
changing) duration, maybe it should also allow specifying an infinite
duration, so it can be stopped at any time.

Regards,
   Carlos



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