Bug 1214239 - GTK application use wrong DPI scale under Plasma
Summary: GTK application use wrong DPI scale under Plasma
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-14 08:46 UTC by Linus Kardell
Modified: 2023-08-20 11:16 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linus Kardell 2023-08-14 08:46:44 UTC
After updating today, GTK applications use completely the wrong DPI scale. It's not consistent either, I might change it and change it back in the Plasma settings, and end up with GTK applications using a different scale they started with. For example, I might have the Global Scale slider set to 125%, with GTK applications getting a 1.5x scale (according to Firefox about:support "Window Device Pixel Ratios"). Then I change the slider to 300%, and "Window Device Pixel Ratios" changes to 1.2x (but the text in Firefox becomes much tinier than that). Then I change the slider back down to 125%, and Firefox gets a 3.5294117647058822x scale, making everything huge.

Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.14.21-150500.55.12-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 1700X Eight-Core Processor
Memory: 62.7 Gibyte of RAM
Graphics Processor: NVIDIA GeForce GT 1030/PCIe/SSE2
Comment 1 Linus Kardell 2023-08-14 09:14:38 UTC
Part of it seems to be that layout.css.devPixelsPerPx was set to 1.2, probably some remnant I set when the scale wasn't properly communicated to Firefox. Resetting that makes the scale more correct, but that still leaves the issue that setting large scale and then a small scale makes everything huge.