Scrolling!

January 22, 2009

I posted this before, but wanted to repost it to planet. (Hi planet). I never have gotten the patches finished, because I ran in to a few problems with GDK XInput stuff, that I don’t entirely understand…however it’s something I’m going to revisit in February.

“So it hit me that I’m always complaining about look and feel, and various usability issues, but actually spend most of my time writing silly window managers, and increasingly obscure bits of JavaScript (Hey, if you ever want to write an asynchronous, GLib main loop integrated network server in JavaScript, I’ve got you covered now).

So without further ado I present:

Bad scroll:

Bad scrolling from Robert Carr on Vimeo.
Good Scroll:

Awesome scrolling from Robert Carr on Vimeo.

It’s worth noting that this isn’t like the firefox “smooth scrolling” where in fact scrolling is still in discrete steps of dozens of pixels, you can actually scroll by a pixel at a time here. Right now the code is in a somewhat adhorent state, but I’ll have it cleaned up within the next few days and post the xf86-input-synaptics patches, and the assosciated GTK patches.”

8 Responses to “Scrolling!”


  1. Looks really nice. Thanks for doing stuff like this :-

  2. Matt Says:

    Very Nice!!! Does this apply to any scrolled window?


  3. Thanks for this, I tried to do this myself last summer but got bogged down in crusty X bits. Are you defining 2 new axes for scrolling now, then?

    xmpp:alex@weej.com

  4. Robin Says:

    Finally, awesome! That’s one of the few things I envy the Mac users, really smooth/direct/awesome scrolling.

  5. Frej Soya Says:

    Yes!!! Can’t wait :).

    Maybe, differentiate policy per device-type? Ie, keyboard arrows should still go up/down a certain amount of pixels while touchpad (two finger scroll?) should be extremely precise. (Unless the precision is lost somewhere in synaptics->X->GTK (or more steps?)). Sorry – just nitpicking 😉

  6. peder Says:

    Wow, this is more than awesome! Keep up the work!


  7. By the way, I can’t help but notice that your web browser actually has a logical layout, with the address bar and buttons INSIDE the GtkNotebook page. What is that?

  8. John Stowers Says:

    Looks awesome, Did you get anywhere with these patches?


Leave a Reply