Bug 457446 - The new scaling option on Wayland seems to break PLASMA_USE_QT_SCALING=1 on X11
Summary: The new scaling option on Wayland seems to break PLASMA_USE_QT_SCALING=1 on X11
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks: 356446
  Show dependency treegraph
 
Reported: 2022-08-03 12:52 UTC by Fushan Wen
Modified: 2022-09-08 20:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.