Bug 457446

Summary: The new scaling option on Wayland seems to break PLASMA_USE_QT_SCALING=1 on X11
Product: [Plasma] plasmashell Reporter: Fushan Wen <qydwhotmail>
Component: Startup processAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, postix
Priority: NOR Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 356446    

Description Fushan Wen 2022-08-03 12:52:44 UTC
SUMMARY
Having the "XWayland apps scale themselves" option seems to make the PLASMA_USE_QT_SCALING environment variable not get evaluated or respected or something. When I set it to 1 and use my X11 session, it's not honored; all the icons are tiny


STEPS TO REPRODUCE
1. Log in to a Wayland session
2. Enable "XWayland apps scale themselves" 
3. Log out and Log in to a X11 session with PLASMA_USE_QT_SCALING in systemd service file or /etc/environment

OBSERVED RESULT
PLASMA_USE_QT_SCALING is not enabled

EXPECTED RESULT
PLASMA_USE_QT_SCALING is enabled

SOFTWARE/OS VERSIONS
Information for package kwin5:
------------------------------
Repository     : @System
Name           : kwin5
Version        : 5.25.80git.20220729T152740~63bf8112-ku.197.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 16.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : kwin5-5.25.80git.20220729T152740~63bf8112-ku.197.1.src
Upstream URL   : http://www.kde.org
Summary        : KDE Window Manager

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2022-08-03 13:22:04 UTC
I'm assuming it's 122be66ecc20bcbaa167fd2b8ad03d92f2922e95 in p-w
Comment 2 David Edmundson 2022-08-03 13:23:43 UTC
Edit, probably not that.

In any case, kwin isn't doing anything on X - it'll be the startup that handles font setup that's changed and wrong.
Comment 3 Nate Graham 2022-08-05 16:43:59 UTC
Can reproduce.
Comment 4 Nate Graham 2022-09-08 20:11:28 UTC
It's working for me again now.