[Bug 1022830] New: Firefox no longer honoring system-wide DPI settings nor KDE mouse cursor
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830 Bug ID: 1022830 Summary: Firefox no longer honoring system-wide DPI settings nor KDE mouse cursor Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Firefox Assignee: bnc-team-mozilla@forge.provo.novell.com Reporter: guillaume.lang@pipot.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After updating (updates spanning roughly the 20170127-20170131 time period, including an update to Firefox), Firefox no longer honors the system-wide DPI settings, nor does it use the KDE cursor. The DPI settings have been set in '/etc/sddm.conf': [XDisplay] ... ServerArguments=-dpi 192 ... The KDE mouse cursor has been set using the KDE settings. It seems no other application is having issues (tested: KDE, Inkscape, Gimp). Creating a new user with new .mozilla/GTK/... config files does not solve the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c1
Wolfgang Rosenauer
From what I read it seems to be a Gtk(3) decision to ignore X dpi settings?
I have to say that I have a hard time finding out the correct place to fix. To compare with other Gtk3 based applications probably use evince (because I know offhand that this is Gtk3 (while for example I think gimp is not yet). Please compare the font sizes and mouse cursors. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c2
--- Comment #2 from Guillaume Lang
From what I read it seems to be a Gtk(3) decision to ignore X dpi settings? [..] To compare with other Gtk3 based applications probably use evince (because I know offhand that this is Gtk3 (while for example I think gimp is not yet). Please compare the font sizes and mouse cursors.
Indeed, this appears GTK-related: Evince uses a tiny font size, consistent with that used by Firefox. However: - Cursor inside the window: Evince = KDE cursor as long as no specific area (such as frame resizing) imposes a change in cursor. Firefox = not KDE - Cursor on a window corner: Evince = not KDE Firefox = KDE cursor - Main window title bar: Evince = tiny (height, window title, icons) Firefox = normal Strangely enough, Evince's 'About' window has a title bar of normal size. PARTIAL WORK-AROUND In '~/.Xresources': Xft.dpi: 192 => font size: ok for Firefox and Evince. => Evince title bar: normal height, normal window title, but still tiny icons including the minimize/maximize/close icons. => no changes for the cursor situation (unsurprisingly). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Wolfgang Rosenauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c3
Wolfgang Rosenauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Wolfgang Rosenauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c4
--- Comment #4 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c5
--- Comment #5 from Felix Miata
PARTIAL WORK-AROUND In '~/.Xresources': Xft.dpi: 192
The problem exists because libgtk >3.16 forces Xft.dpi to 96 if null, because of the commit referred to in both comment 1 bugs. KDE's "Force fonts DPI:" in systemsettings does the forcing by setting Xft.dpi, so there is a workaround that doesn't require changing .Xresources, but either workaround must be manually updated and session restarted with every display change instead of having the server's DPI automatically used. KDE3 and TDE also force DPI by setting Xft.dpi non-null. Mouse pointer here gets larger over GTK3 Mozillas than it is over other windows. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c6
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c7
--- Comment #7 from Felix Miata
Longer term it seems like one solution would be something that on X session startup discovers its DPI, then sets the previously optional Xft.dpi xrdb variable to that value.
I had forgotten I already asked for this upstream: https://bugs.freedesktop.org/show_bug.cgi?id=98909 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c8
Wolfgang Rosenauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c9
--- Comment #9 from Felix Miata
Please note that this does affect Leap 42.2 right now.
http://fm.no-ip.com/Auth/dpi-screen-window.html is URI used in screenshot's browser windows. This screenshot shows that 42.2 can be heavily affected by not having Xft.dpi explicitly set to match Xorg's display density. At upper right, Firefox ESR45 built with GTK2 is using the same size 10 UI fonts as apps not built with GTK3. Below ESR45 are 52.0.1 and SeaMonkey 2.52a1 built with GTK3, which are using 42.2-standard GTK 3.20.10-3.1, and displaying vastly undersized UI fonts. The latter appear to be size 7.27pt, or the UI specified size 10pt times 96 divided by 132, the result of GTK 3 needlessly forcing Xft.dpi to 96 in a 132 DPI environment where xrdb's Xft.dpi is null. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Vadim Krevs
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c10
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c11
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c12
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c13
Fabian Vogt
https://git.gnome.org/browse/gtk+/commit/ ?id=bdf0820c501437a2150d8ff0d5340246e713f73f needs to be reverted.
https://features.opensuse.org/322401 Title: revert GTK3 upstream's HiDPI usability regression (undersized Firefox UI fonts)
- openSUSE Distribution: New + openSUSE Distribution: Rejected by Tomáš Chvátal (scarabeus_iv) + reject reason: If you call it everywhere as regression then you should + open a bug. Or even create submission in OBS if you have the patch...
Raising priority, reverting this patch has only a very low chance of breaking anything (only effective in non-96-DPI situations anyway) and should fix DPI of GTK apps on X11. Especially important because firefox is the default browser in all DEs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c14
Fabian Vogt
zypper ar http://download.opensuse.org/repositories/home:favogt:branches:openSUSE:Leap... hfboSL423 zypper -v dup --from hfboSL423
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c15
--- Comment #15 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c17
P. Otato
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c18
--- Comment #18 from Fabian Vogt
Created attachment 731565 [details] cursor theme changes when mouse cursor enter firefox window
Found this bug report for a problem I came across in Leap 42.3. Firefox does not honor the mouse cursor theme in Plasma 5
Can you open a separate but report for this? I cannot reproduce this on 42.3 here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c19
Wolfgang Bauer
(In reply to P. Otato from comment #17)
Created attachment 731565 [details] cursor theme changes when mouse cursor enter firefox window
Found this bug report for a problem I came across in Leap 42.3. Firefox does not honor the mouse cursor theme in Plasma 5
Can you open a separate but report for this? I cannot reproduce this on 42.3 here.
Try to set the cursor theme in the GTK settings. -- You are receiving this mail because: You are on the CC list for the bug.
(In reply to Fabian Vogt from comment #18)
(In reply to P. Otato from comment #17)
Created attachment 731565 [details] cursor theme changes when mouse cursor enter firefox window
Found this bug report for a problem I came across in Leap 42.3. Firefox does not honor the mouse cursor theme in Plasma 5
Can you open a separate but report for this? I cannot reproduce this on 42.3 here.
Try to set the cursor theme in the GTK settings. Setting the cursor theme in the GTK settings solves this problem although this
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c20
--- Comment #20 from P. Otato
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c22
--- Comment #22 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
Christoph Feck
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830
http://bugzilla.opensuse.org/show_bug.cgi?id=1022830#c31
Christoph Obexer
participants (1)
-
bugzilla_noreply@novell.com