Bug 369273

Summary: Wrong DPI settings
Product: [Plasma] kwin Reporter: Bastian Köcher <bugs.kde.org>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.7.95   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Wrong DPI

Description Bastian Köcher 2016-09-24 05:34:51 UTC
I have a 4k monitor in my laptop, but only using it with FullHD at the moment. Now, starting KDE on wayland picks DPI setting for 4K on FullHD and all windows are quite huge. I don't have selected any scaling factor in the systemsettings. I will add a screenshot demonstrating the problem.

Reproducible: Always
Comment 1 Bastian Köcher 2016-09-24 05:37:34 UTC
Created attachment 101252 [details]
Wrong DPI
Comment 2 Martin Flöser 2016-10-04 07:39:00 UTC
The scaling is done by Qt automatically based on the dpi - given that I mark as UPSTREAM as there is nothing we can do from KWin side to prevent this. You can change the dpi through the fonts configuration module. E.g. force font dpi to 96 and restart the session should turn it small again.