- SUMMARY When you run applications in a Wayland session as SuperUser, icons and elements are not scaled. E.g. Dolphin or YaST. See attachments. Global scale in my case: 200% - STEPS TO REPRODUCE open applications in SuperUser mode e.g. Dolphin or YaST - OBSERVED RESULT icons are too small EXPECTED RESULT icons properly scaled (in my case @200%) SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100 Qt Version: 5.15.7
Created attachment 154340 [details] Dolphin as User
Created attachment 154341 [details] Dolphin as SuperUser
Created attachment 154342 [details] YaST X11
Created attachment 154343 [details] YaST Wayland
Probably environment variables not propagating or something. That said, we don't support running apps as root/sudo. Apps that require it like YaST should be ported to use privilege escalation using KAuth or PolKit. Does this work properly on X11, and it's only not working on Wayland?
Wrong scaling is only on Wayland. But it's only the icons and elements. I think the fonts scale properly.
Ultimately this is an issue in those apps, not a problem in the Plasma setup process. They need to be ported to polkit privilege escalation rather than running as root/sudo.