<?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>428334</bug_id>
          
          <creation_ts>2020-10-27 11:51:44 +0000</creation_ts>
          <short_desc>Window opens with wrong size when using two monitors</short_desc>
          <delta_ts>2020-12-07 18:18:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kconfig</product>
          <component>general</component>
          <version>5.75.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>427875</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>multiscreen, usability</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="george fb">georgefb899</reporter>
          <assigned_to name="Matthew Dawson">matthew</assigned_to>
          <cc>claudius.ellsel</cc>
    
    <cc>kde</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>nate</cc>
          
          <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>1969065</commentid>
    <comment_count>0</comment_count>
    <who name="george fb">georgefb899</who>
    <bug_when>2020-10-27 11:51:44 +0000</bug_when>
    <thetext>SUMMARY
I have a 2560x1440 monitor and a 1920x1080 tv as second monitor.

          -----------------
--------- |               |
|       | |    primary    |
|  tv   | |    monitor    |
--------- |               |
          -----------------

With one monitor size and position is respected when using
&quot;allow kde apps to remember the position ...&quot; setting
or window rules (remember size and position).

With two monitors and &quot;allow kde apps to remember the position ...&quot; setting
and/or window rules, if I close the app in the left monitor,
it opens in the left screen with the size and position it had when closed.

But if I close it in the right monitor it doesn&apos;t,
it opens in the correct position but with wrong size;
very small 640x514.

Tested app was kate.

STEPS TO REPRODUCE
1a. Enable &quot;allow kde apps to remember the position ...&quot; setting
1b. Setup window rules size and position to remember
2. Open app
3. Resize and reposition
4. Close app
5. Reopen app

OBSERVED RESULT
App opens with wrong size, if closed in right monitor.

EXPECTED RESULT
App opens with the size it had when last closed,
regardless in which monitor it was closed.

Operating System: openSUSE Tumbleweed 20201025
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Graphics Processor: Nvidia GTX 750 Ti</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969892</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-10-29 19:29:00 +0000</bug_when>
    <thetext>Was this working before but broke recently?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969907</commentid>
    <comment_count>2</comment_count>
    <who name="george fb">georgefb899</who>
    <bug_when>2020-10-29 19:51:14 +0000</bug_when>
    <thetext>I used just one monitor until recently (about ten days) so I can&apos;t say.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969912</commentid>
    <comment_count>3</comment_count>
    <who name="george fb">georgefb899</who>
    <bug_when>2020-10-29 20:08:12 +0000</bug_when>
    <thetext>This happens on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973017</commentid>
    <comment_count>4</comment_count>
    <who name="evea">kde</who>
    <bug_when>2020-11-08 22:36:07 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; Was this working before but broke recently?

I can confirm this on 5.20.2. It works when disabling the seconds Monitor.

The same thing (it did not remember windows size) happened in previous Versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982365</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-07 18:18:22 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>