Firefox scrollbar drawn incorrectly

Bug #53958 reported by Jeff Meister
2
Affects Status Importance Assigned to Milestone
gtk-qt-engine (Ubuntu)
Fix Released
Undecided
Daniel T Chen

Bug Description

Binary package hint: gtk2-engines-gtk-qt

Using these packages:

firefox - 1.5.dfsg+1.5.0.4-0ubuntu6.06
gtk2-engines-gtk-qt - 0.60-1.1ubuntu7

Firefox doesn't seem to understand the default KDE style of having an extra Up button at the bottom of the scrollbar and it draws the bar right over that button when you scroll to the bottom. gtk-qt is applying this style anyway, though. Apparently this is fixed in upstream version 0.7, according to the changelog at their site, http://www.freedesktop.org/wiki/Software/gtk-qt - "Control Module: add utility to fix Firefox scrollbar buttons."

Revision history for this message
Jeff Meister (nanaki) wrote :

Assigned to crimsun at his request.

Changed in gtk-qt-engine:
assignee: nobody → crimsun
Revision history for this message
Jeff Meister (nanaki) wrote :

I just fixed this myself inadvertently. I tried installing the autopackage of version 0.7 from the developer's site, which installed fine, but actually created another scrollbar drawing bug. The one I describe here was fixed, though, by a simple Firefox profile change. Since 0.7 had another annoying bug, I uninstalled it and reverted back to 0.6... only to find that things are now working perfectly!

Ignoring my little story above, all you have to do is add this stuff to your userContent.css in ~/.mozilla/firefox/[random-string].default/chrome/:

# The following four lines were added by KDE
scrollbarbutton[sbattr="scrollbar-up-top"] { display: -moz-box !important; }
scrollbarbutton[sbattr="scrollbar-down-top"] { display: none !important; }
scrollbarbutton[sbattr="scrollbar-up-bottom"] { display: -moz-box !important; }
scrollbarbutton[sbattr="scrollbar-down-bottom"] { display: -moz-box !important; }

You can customize these lines for your KDE style, but that will fix it to work with the default on Kubuntu (Lipstik). Hooray!

Revision history for this message
David Sansome (me-davidsansome) wrote :

So, what was the other scrollbar drawing bug? :)

Revision history for this message
Jeff Meister (nanaki) wrote :

The border on the left of the scrolling thumb part lags behind the rest of the thumb when you move it. It will catch up eventually, it just takes a bit to realize that the thumb has moved. Very odd. Obviously a minor thing, but noticable and annoying. ;)

Here's the bug report on their tracker, looks like it's assigned to you too so you probably already know about it. The guy reports that he's using an 0.6 package, but maybe the FC3 guys backported part of 0.7, because I don't experience the problem with Kubuntu's 0.6 version.

https://bugs.freedesktop.org/show_bug.cgi?id=5811

Revision history for this message
Anthony Mercatante (tonio) wrote :

Latest upstream version includes a fix for firefox scrollbars

Changed in gtk-qt-engine:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.