HOWTO: Firefox/gtk-qt-engine scrollbar fix (real easy hack)

Share your own howto's etc. Not for support questions!

HOWTO: Firefox/gtk-qt-engine scrollbar fix (real easy hack)

Postby Penguin Skinner » 2007-06-04 20:02

Under KDE, Firefox and other GTK2 apps look a lot better with the gtk-qt-engine package installed. However many have noticed a small, cosmetic problem with the Firefox scrollbars, where the left border of the vertical scrollbar and upper border of the horizontal scrollbar don't get redrawn properly when scrolling.

The bug, and a partial fix is described here:

Based on that, here's a fix for *both* Firefox scrollbars -- simply add the following code to the userContent.css file under your home directory (this should be located in something like the ~/.mozilla/firefox/.../chrome/ directory):

Code: Select all
scrollbar slider
        margin-left: -1px;
        border-left: 1px solid #8C8D90;
        margin-top: -1px;
        border-top: 1px solid #8C8D90;

BTW I don't know if Iceweasel shows the same problem ... I'm guessing it might, and if so maybe someone will let us know if this hack works for that.
Penguin Skinner
Posts: 709
Joined: 2005-09-15 20:37
Location: North by Northwest

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests