Results 1 to 7 of 7

Thread: smooth scrolling in xfce

  1. #1
    Join Date
    Nov 2012
    Beans
    2

    smooth scrolling in xfce

    I'm using Xubuntu 12.10 on an HP Pavilion dm1 and wondering what's up with the smooth-scroll behavior.

    Let's say I try to use two-finger scrolling in the Document Viewer while looking at a PDF. If I scroll while the pointer is on top of the document, i.e. in the middle of the window, I don't get smooth behavior. The page just acts the way it used to before smooth scrolling existed.

    However, if I put my pointer on top of the scrollbar on the right side and try to use the trackpad to scroll, smooth scrolling works, and it works great! No more jumpy pages or anything.

    My question is: why is smooth scrolling only half-working and how to I fully enable this functionality so that I don't always have to carefully position my pointer over the scrollbar (what's the point of even having two finger scrolling if I have to go to the scrollbar anyway?).

    Thanks in advance.

    edit: I should add that smooth scrolling doesn't work at all in Chromium without installing the Chromium Wheel Smooth Scroller extension; but I already understand why Chromium works like that.

  2. #2
    Join Date
    Jan 2008
    Location
    Nappanee, IN
    Beans
    602
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: smooth scrolling in xfce

    I take it you are using a touch screen? You should state so in your posting.

  3. #3
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    813
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: smooth scrolling in xfce

    Seems this bug has been reported before
    https://bugs.launchpad.net/ubuntu/+s...ce/+bug/981248
    Apparently they are working on a patch for Evince.

    Cheers!
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  4. #4
    rai4shu2 is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2006
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: smooth scrolling in xfce

    Seems to be a GTK bug. I wonder if Qt apps work with smooth scrolling?

  5. #5
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    813
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: smooth scrolling in xfce

    Quote Originally Posted by rai4shu2 View Post
    Seems to be a GTK bug. I wonder if Qt apps work with smooth scrolling?
    Never really paid much attention but most GTK3 apps have smooth scrolling whereas GTK2 apps don't.
    Dolphin has it on but not Okular, both KDE apps. Maybe it needs to be controlled elsewhere?
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  6. #6
    Join Date
    Nov 2012
    Beans
    2

    Re: smooth scrolling in xfce

    Quote Originally Posted by LewisTM View Post
    Seems this bug has been reported before
    https://bugs.launchpad.net/ubuntu/+s...ce/+bug/981248
    Apparently they are working on a patch for Evince.

    Cheers!
    Ah, thank you. That bug report explains a real lot. Looking forward to seeing that patch released.

    From what I can tell smooth scrolling is a GTK3 feature but Evince uses a custom document view that doesn't implement the GTK_SCROLL_SMOOTH event. This also explains why smooth scrolling works in Nautilus but not in Thunar.

  7. #7
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: smooth scrolling in xfce

    Edit/create in this file with nano:
    Code:
    nano ~/.gtkrc-2.0
    These customizations:
    Code:
    gtk-menu-popup-delay = 0
    gtk-menu-popdown-delay = 0
    gtk-menu-bar-popup-delay = 0
    gtk-enable-animations = 0
    gtk-timeout-expand = 10
    Save and reboot
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •