Bug 500527 - SDDM widgets are tiny on hi-res screen
Summary: SDDM widgets are tiny on hi-res screen
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-21 16:45 UTC by Jakob Petsovits
Modified: 2025-02-25 01:20 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Petsovits 2025-02-21 16:45:23 UTC
SUMMARY
On a Framework Laptop 13 with  KDE neon (Testing) with 2880x1920 display, the text box and other controls on the SDDM login screen are tiny. Anyone without eagle-eyesight will need to bend their head closer to the screen in order to use it.

SDDM can use kwin_wayland which features automatic scale detection, but this is not currently used. Shortly after the Plasma 6.3.1 release, neon ships with two neon-specific configuration files [1] for SDDM, neither of which specifies the Wayland backend.

[1] https://invent.kde.org/neon/neon/settings/-/tree/ddd432b800743541f0488da47a21b76f5cb4bcd7/usr/lib/sddm/sddm.conf.d

If I add the following file as /etc/sddm.conf.d/10-wayland.conf (courtesy of Arch Linux wiki), sizes look just right:

> [General]
> DisplayServer=wayland
> GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
> 
> [Wayland]
> CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod maliit-keyboard

Let's consider adding this as default to /usr/lib/sddm/sddm.conf.d.

STEPS TO REPRODUCE
1. Install neon
2. Boot laptop

OBSERVED RESULT
Password field uses a very small font.

EXPECTED RESULT
Password field looks similar to other text boxes after session login, which are rightly sized by default.

SOFTWARE/OS VERSIONS
Operating System: Ubuntu 24.04.2 LTS (Noble Numbat) - damn, I would have expected this to say KDE neon Testing
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-17-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7

ADDITIONAL INFORMATION
Maliit virtual keyboard didn't show for me despite specifying it as command line parameter. This is also true in the session though, not sure if due to misconfiguration or Maliit deficiencies or the fact that I have a keyboard and touchpad available. May be related to https://invent.kde.org/neon/neon/settings/-/merge_requests/13.
Comment 1 Carlos De Maine 2025-02-25 01:14:10 UTC
https://invent.kde.org/neon/neon/settings/-/commit/ae2cd811adc5458763ef59541aa050656b2de256 should allow the virtualkeyboard to work for sddm.
Comment 2 Carlos De Maine 2025-02-25 01:15:34 UTC
Operating System: Ubuntu 24.04.2 LTS (Noble Numbat) - damn, I would have expected this to say KDE neon Testing 
this should already be fixed by: https://invent.kde.org/neon/forks/base-files/-/commit/7c99e0d77814e15ffde9480184aa51ab3189cbe8
Comment 3 Carlos De Maine 2025-02-25 01:20:04 UTC
unfortunately "SDDM considers its Wayland support experimental."  so wayland as default isn't really an option.

does creating a /usr/lib/sddm/sddm.conf.d/00neon-hidpi.conf with:

[Wayland]
EnableHiDPI=true

[X11]
EnableHiDPI=true

help in anyway??  works here but would like confirmation from someone else ;)