<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>442439</bug_id>
          
          <creation_ts>2021-09-14 16:35:47 +0000</creation_ts>
          <short_desc>Display scaling resets to 100% after Wayland login if previous session was X11</short_desc>
          <delta_ts>2021-09-14 16:39:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>wayland-generic</component>
          <version>5.22.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>433460</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Lyubomir">liubomirwm</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2060974</commentid>
    <comment_count>0</comment_count>
    <who name="Lyubomir">liubomirwm</who>
    <bug_when>2021-09-14 16:35:47 +0000</bug_when>
    <thetext>SUMMARY
(in disagreement with System Settings value)

STEPS TO REPRODUCE
1. Login to Wayland session
2. Change scale to 125%
3. Logout
4. Login to X11 session
5. Logout
6. Login to Wayland session

OBSERVED RESULT
Notice how the System Settings/Display Configuration shows 125%, but in reality the display is not scaled at 125% but at 100%. There is a disagreement between the shown value and the effective value - everything is small at 100%.

EXPECTED RESULT
Logging into a Wayland session after a X11 session was used before should result not only in System Settings showing 125% value, but also in KWin respecting that value effectively.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-34-lowlatency (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060976</commentid>
    <comment_count>1</comment_count>
    <who name="Lyubomir">liubomirwm</who>
    <bug_when>2021-09-14 16:39:03 +0000</bug_when>
    <thetext>Marking my own bug as a duplicate of this one.

*** This bug has been marked as a duplicate of bug 433460 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>