Bug 495864 - Scalling does not affect Firefox's "layout.css.devPixelsPerPx"
Summary: Scalling does not affect Firefox's "layout.css.devPixelsPerPx"
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.3
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-06 04:53 UTC by Fernando M. Muniz
Modified: 2024-11-06 05:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
1.25 was the default value, but my screen scalling was 100%, instead of 125% (8.78 KB, image/png)
2024-11-06 04:53 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-11-06 04:53:02 UTC
Created attachment 175569 [details]
1.25 was the default value, but my screen scalling was 100%, instead of 125%

By default, Firefox installed with pacman has "1.25" value in "about:config" → "layout.css.devPixelsPerPx".
After changing the default screen scalling from 125% into 100%, Firefox's didn't change its 1.25 value.
"1.25" is not supposed to be the default value:
https://support.mozilla.org/mk/questions/1378420

Is there a way of making Firefox scalling always match the system scalling?
Comment 1 Nate Graham 2024-11-06 05:48:15 UTC
Probably, but this is something that Firefox itself would have to do. The fact that it correctly finds the default value indicates that it's capable of this, but apparently it doesn't track it if it changes.