Bug 1321553

Summary: [Gtk3.20] Scrollbars in Firefox are wider than when in other GTK apps
Product: [Fedora] Fedora Reporter: Jiri Eischmann <eischmann>
Component: firefoxAssignee: Jan Horak <jhorak>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: 4ofjuly, gecko-bugs-nobody, jhorak, pjasicek, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1327614 (view as bug list) Environment:
Last Closed: 2016-08-19 09:47:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of wider scrollbars none

Description Jiri Eischmann 2016-03-28 11:20:24 UTC
Created attachment 1140837 [details]
Screenshot of wider scrollbars

In Fedora 24, scrollbars in Firefox (firefox-45.0.1-2.fc24.x86_64) are wider than scrollbars in other apps that are GTK-based which feels inconsistent. See the attached screenshot.

Comment 1 4ofjuly 2016-03-30 20:50:44 UTC
Same issue. Confirm. Actually. that's really annoying and Jiri didnt mention it: when I browse a page and want to scroll it - I automatically move mouse cursor to (for example) bottom right edge of the screen an click - so, the page scrolls down. This bug creates space between screen's edge and scrollbar - so, I must change focus from page's content to aim scrollbar. That's awful. Also, I use Vertex-theme (already 3.20 compatible) and with it enabled, I can't see the scrollbar tumbler (or how it calls).
Original version (downloaded from mozilla's site) is free of these bugs.

Comment 2 Martin Stransky 2016-04-15 13:18:58 UTC
Jhorak is our scrollbar expert.

Comment 3 Martin Stransky 2016-04-15 14:50:33 UTC
https://developer.gnome.org/gtk3/unstable/GtkScrollbar.html

Looks like gtk queries "contents" css node for the size, but we don't have such node in our css tree and ask trough for it. We may adopt our code to the one from https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/foreigndrawing.c

Comment 4 Jan Horak 2016-08-02 09:08:35 UTC
Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1289148

Comment 5 Jan Horak 2016-08-19 09:47:23 UTC
We're going to track it on upstream.