Bug 488081 - Scaling is not applied to SDDM when Applying Plasma Settings, always stays 1.0
Summary: Scaling is not applied to SDDM when Applying Plasma Settings, always stays 1.0
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 6.0.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-06-05 16:02 UTC by postix
Modified: 2024-07-23 17:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1
Sentry Crash Report:


Attachments
kwinoutputconfig.json (4.11 KB, application/json)
2024-06-05 16:09 UTC, postix
Details
kscreen output for the used screen (454 bytes, text/plain)
2024-06-05 16:10 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-06-05 16:02:15 UTC
SUMMARY

Since upgrading to Plasma 6.0, SDDM scales with a factor of 1.0, while the used scaling for my Plasma Wayland session is 2.0

Applying Plasma Settings:

Color scheme,
Cursor theme,
Cursor size,
Font,
Font rendering,
NumLock preference,
Plasma theme,
Scaling DPI,
Screen configuration (Wayland only)

using the official Breeze Theme, doesn't change the scaling. It stays the same on logout or reboot.


### Journalctl when syncing the settings:
```
Cannot find cursor size value; unsetting it
Cannot find NumLock value.
Warning from helper: Could not copy "/home/user/.config/fontconfig/." to "/var/lib/sddm/.config/fontconfig/."
Warning from helper: Could not copy "/home/user/.config/fontconfig/.." to "/var/lib/sddm/.config/fontconfig/.."
Synchronization successful
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240524
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2024-06-05 16:09:19 UTC
Created attachment 170173 [details]
kwinoutputconfig.json

Found in `/var/lib/sddm/.config/`
Comment 2 postix 2024-06-05 16:10:05 UTC
Created attachment 170174 [details]
kscreen output for the used screen

Found in `/var/lib/sddm/.local/kscreen/output/`
Comment 3 postix 2024-06-05 16:11:21 UTC
It's sddm version 0.21.0-3.1 on TW. I slightly feel this is more of an SDDM bug? :-/
Comment 4 Nate Graham 2024-06-10 21:11:41 UTC
This is in fact our bug, but it's only fixed in Plasma 6.1.
Comment 5 postix 2024-07-16 14:05:39 UTC
I am now on

Operating System: openSUSE Tumbleweed 20240714
SDDM Version: 0.21.0-3.1
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: Wayland

and the scaling factor still gets not applied. :-(
Comment 6 postix 2024-07-16 14:06:54 UTC
The cursor scales correctly though.
Comment 7 Nate Graham 2024-07-23 17:35:08 UTC
The data in the kscreen folder gets used if SDDM is running on X11. The data in the kwinoutputconfig.json file gets used if SDDM is running on Wayland. On second reading, both exist and seem to have scale=2 set for 2ad1bd088494ee2fa4504953988ba033, so this does seem like an SDDM bug.