Bug 449321

Summary: Scale is reset to 100% on Wayland if the previous session uses X11
Product: [Plasma] KScreen Reporter: Fushan Wen <qydwhotmail>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, postix
Priority: NOR Keywords: wayland
Version: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fushan Wen 2022-01-29 14:47:45 UTC
SUMMARY
If I log out from an X11 session (125% scale) and log in to a Wayland session (125% scale), the screen scale is always 100% even if system settings shows 125%. Not sure if it's a bug in Kwin or elsewhere.


STEPS TO REPRODUCE
1. Log out from X11
2. Log in to Wayland

OBSERVED RESULT
100% scale

EXPECTED RESULT
125% scale as shown in system settings

SOFTWARE/OS VERSIONS
Information for package kwin5:
------------------------------
Repository     : unstable-kde-frameworks
Name           : kwin5
Version        : 5.24.80git.20220128T144116~aebe1ab3a4-ku.11.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 15.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : kwin5-5.24.80git.20220128T144116~aebe1ab3a4-ku.11.1.src
Summary        : KDE Window Manager
Comment 1 Nate Graham 2022-02-01 15:29:45 UTC

*** This bug has been marked as a duplicate of bug 449212 ***
Comment 2 Nate Graham 2022-06-15 13:43:24 UTC
Heh actually a dupe of Bug 385135.

*** This bug has been marked as a duplicate of bug 385135 ***
Comment 3 Fushan Wen 2022-06-15 14:34:36 UTC
(In reply to Nate Graham from comment #2)
> Heh actually a dupe of Bug 385135.
> 
> *** This bug has been marked as a duplicate of bug 385135 ***

Not likely. The external display has the same name on Wayland and X11, but the bug still exists.
Comment 4 Nate Graham 2022-06-15 14:58:44 UTC
Does it have the same *connector* name too?
Comment 5 Fushan Wen 2022-06-15 15:24:18 UTC
(In reply to Nate Graham from comment #4)
> Does it have the same *connector* name too?

If you mean HDMI-A-0, yes. KScreen KCM reports the scale is 125% but the actual scale is 100%.
Comment 6 Nate Graham 2022-06-15 15:25:34 UTC
OK, then I guess it is a different issue.
Comment 7 Nate Graham 2022-06-15 15:44:21 UTC
Ah it's actually Bug 433460.

*** This bug has been marked as a duplicate of bug 433460 ***