Closed Bug 1299897 Opened 8 years ago Closed 8 years ago

Widgets (scrollbar etc) don't respect HiDPI setting with GTK 3.21+

Categories

(Core :: Widget: Gtk, defect, P2)

50 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fabrixx2, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: tpi:+)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20160615000543 Steps to reproduce: I added the gnome-dev repository of Arch Linux and upgrade from Gnome 3.20 stable to Gnome-dev 3.21 on an UHD monitor. Actual results: After reboot Firefox interface and its characters have been drastically reduced in size, the text size of web pages has not changed Expected results: Whith Gnome 3.20 i've modified layout.css.devPixelsPerPx value to 2.5 in about config to fix similar problem but with Gnome 3.21 change have no effects. the same problem occurs with Thunderbird and Seamonkey. I tried to compile SeaMonkey from source with --enable-default-toolkit=cairo-gtk3 but I have not had changes. I can fix problem with this code in userChrome.css: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ * {font-size: 15px !important; } This solves the problem only partially as context menus are out of position
Summary: Firefox small interface with Gnome 3.21 dev & UHD monitor → Firefox small interface with Gnome 3.21 dev & UHD monitor in Arch Linux
QA Whiteboard: [bugday-20160905]
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
confirmed on Debian/sid with libgtk-3 3.21.5-3
Blocks: linux-hidpi
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Firefox small interface with Gnome 3.21 dev & UHD monitor in Arch Linux → Widgets (scrollbar etc) doesn't respect HiDPI setting with GTK 3.21+
Summary: Widgets (scrollbar etc) doesn't respect HiDPI setting with GTK 3.21+ → Widgets (scrollbar etc) don't respect HiDPI setting with GTK 3.21+
gdk_screen_get_monitor_scale_factor always return 0 on X11 backend after the fllowing landing on GTK3. I should file a bug to GTK. commit d92fda2103bc79043465b5218323a14edd05183e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Apr 3 00:12:39 2016 -0400 x11: Port to new monitor api
GTK 3.22 introduce new gdk_monitor_get_scale_factor API for this...
s/always return 0/always return 1/
Priority: -- → P2
Whiteboard: tpi:+
When I test on GTK 3.22, I verify this. Mark as WFM.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.