Bug 495864

Summary: Scalling does not affect Firefox's "layout.css.devPixelsPerPx"
Product: [Plasma] kwin Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.2.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Other   
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%

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.