Bug 1213572

Summary: Firefox 115: fonts too large
Product: [openSUSE] openSUSE Distribution Reporter: Matwey Kornilov <matwey.kornilov>
Component: FirefoxAssignee: Factory Mozilla <factory-mozilla>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.sirringhaus, matwey.kornilov, mrmazda
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Firefox 102
Firefox 115

Description Matwey Kornilov 2023-07-23 16:49:16 UTC
Created attachment 868382 [details]
Firefox 102

Hello,

I am running openSUSE Leap 15.5 with KDE Plasma desktop environment.

After installing patch with MozillaFirefox-115.0-150200.152.93.1.x86_64,
my Firefox appearance has changed. All fonts in the Firefox are 150% of desktop environment fonts. 

Attached here are screenshots to demonstrate the issue:

1. Firefox appearance before the update (102)
2. Firefox appearance after the update (115)
Comment 1 Matwey Kornilov 2023-07-23 16:49:48 UTC
Created attachment 868383 [details]
Firefox 115
Comment 2 Martin Sirringhaus 2023-07-26 06:39:47 UTC
Hm, others using KDE can't reproduce this issue. So it seems to not be a general problem.

Could you try the following modifications to your env, so that we can narrow down, where this might be coming from:

1. Try with a new Firefox profile and see if the error is still there
2. Try switching between X and wayland
3. Try a different desktop env

Thanks!
Comment 3 Matwey Kornilov 2023-07-26 12:30:47 UTC
I've found that the reason for the issue is

forceFontDPI=144

in my ~/.config/kcmfonts

However, this option is enabled by my intentionally, and the Firefox had been working well for a long time. Now I suppose that Firefox accounts for DPI scale twice.
Comment 4 Felix Miata 2023-07-26 13:10:58 UTC
96+48=144, which is halfway to 192, (96*2), a breakpoint between two extremes. If 144 was helpful in the past, you might wish to try 143 instead of removing it.
Comment 5 Matwey Kornilov 2023-07-27 07:59:51 UTC
I've tried 143 and nothing changed (at least visually)
Comment 6 Matwey Kornilov 2023-09-18 19:04:42 UTC
Recreating new profile helps.