<?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>420881</bug_id>
          
          <creation_ts>2020-05-01 23:18:30 +0000</creation_ts>
          <short_desc>In case two screens and after very first start of Plasma, window of application appears on not primary screen</short_desc>
          <delta_ts>2023-09-06 13:44:42 +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>general</component>
          <version>5.18.4</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <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="Piotr Mierzwinski">piotr.mierzwinski</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>piotr.mierzwinski</cc>
    
    <cc>plasma-bugs-null</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>1926565</commentid>
    <comment_count>0</comment_count>
    <who name="Piotr Mierzwinski">piotr.mierzwinski</who>
    <bug_when>2020-05-01 23:18:30 +0000</bug_when>
    <thetext>SUMMARY
As in subject. I have 2 displays connected to my PC. First is monitor (primary screen) and second projector, which usually is working in standy mode. Plasma detected both.
I tested this issue with two live distributions. I mean KaOS 2020.02 (Plasma 5.18.1) and Manjaro 20 (Plasma 5.18.4). Also I tested this  with older KaOS with Plasma 5.17. The same result. 

After plasma session was started I run System Setting and/or KInfoCenter and/or Konsole. Window of started application appeared on not primary screen. To use/get it I needed blindly catch and move (holding Alt) window to my primary screen or just turn on projector.

BTW. Unfortunately icon of running application placed on bar where windows are minimized doesn&apos;t have option &quot;Move to Screen&quot;, whereas this option is present in context menu of title bar of window. Therefore isn&apos;t comfortable move window to other screen.
Sometimes after moving window to primary screen issue disappear.
Sometimes after opening Display settings in System Setting issue disappear.
I&apos;m not sure what exactly it depends on.

STEPS TO REPRODUCE
Having two screens connected to PC.
1. Start live distribution like KaOS or Manjaro
2. Using Kickoff start System Settings or KInfoCenter or Konsole
3. 

OBSERVED RESULT
Window appears on not primary screen.

EXPECTED RESULT
Window should appear on primary screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
mesa 20.0.5-1
xf86-video-intel 1:2.99.917+906+g846b53da-1
xorg 1.20.8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926566</commentid>
    <comment_count>1</comment_count>
      <attachid>128089</attachid>
    <who name="Piotr Mierzwinski">piotr.mierzwinski</who>
    <bug_when>2020-05-01 23:19:01 +0000</bug_when>
    <thetext>Created attachment 128089
kscreen configuration for 2 displays</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926567</commentid>
    <comment_count>2</comment_count>
    <who name="Piotr Mierzwinski">piotr.mierzwinski</who>
    <bug_when>2020-05-01 23:20:06 +0000</bug_when>
    <thetext>Similar issue I reported here: #416556</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2250889</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2023-09-06 10:38:04 +0000</bug_when>
    <thetext>This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2251149</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-09-06 13:44:42 +0000</bug_when>
    <thetext>This is in fact not even a bug; it&apos;s probably intentional behavior. Which screen is primary has no bearing on where windows open.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>128089</attachid>
            <date>2020-05-01 23:19:01 +0000</date>
            <delta_ts>2020-05-01 23:19:01 +0000</delta_ts>
            <desc>kscreen configuration for 2 displays</desc>
            <filename>c8786179669078342b30c65f57e474b7.txt</filename>
            <type>text/plain</type>
            <size>1010</size>
            <attacher name="Piotr Mierzwinski">piotr.mierzwinski</attacher>
            
              <data encoding="base64">WwogICAgewogICAgICAgICJlbmFibGVkIjogdHJ1ZSwKICAgICAgICAiaWQiOiAiZTA4OTA1MzZh
YjRhYmFhMDE4N2RiZjhkODI4ODk3MGEiLAogICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAg
ICAgImZ1bGxuYW1lIjogInhyYW5kci1FQTI3NVdNaS03NDEwNTQ2N05CIiwKICAgICAgICAgICAg
Im5hbWUiOiAiSERNSTEiCiAgICAgICAgfSwKICAgICAgICAibW9kZSI6IHsKICAgICAgICAgICAg
InJlZnJlc2giOiA1OS45NTA1NTAwNzkzNDU3LAogICAgICAgICAgICAic2l6ZSI6IHsKICAgICAg
ICAgICAgICAgICJoZWlnaHQiOiAxNDQwLAogICAgICAgICAgICAgICAgIndpZHRoIjogMjU2MAog
ICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAicG9zIjogewogICAgICAgICAgICAieCI6
IDAsCiAgICAgICAgICAgICJ5IjogMAogICAgICAgIH0sCiAgICAgICAgInByaW1hcnkiOiB0cnVl
LAogICAgICAgICJyb3RhdGlvbiI6IDEsCiAgICAgICAgInNjYWxlIjogMQogICAgfSwKICAgIHsK
ICAgICAgICAiZW5hYmxlZCI6IHRydWUsCiAgICAgICAgImlkIjogImY5MGRlNDhkNWU5YmIyOWY2
MGJiNTQ2NGRkOTEwZGI5IiwKICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICAgICJmdWxs
bmFtZSI6ICJ4cmFuZHItT3B0b21hIDEwODBQLTcySjYwODExMTExMTEiLAogICAgICAgICAgICAi
bmFtZSI6ICJIRE1JMiIKICAgICAgICB9LAogICAgICAgICJtb2RlIjogewogICAgICAgICAgICAi
cmVmcmVzaCI6IDYwLAogICAgICAgICAgICAic2l6ZSI6IHsKICAgICAgICAgICAgICAgICJoZWln
aHQiOiAxMDgwLAogICAgICAgICAgICAgICAgIndpZHRoIjogMTkyMAogICAgICAgICAgICB9CiAg
ICAgICAgfSwKICAgICAgICAicG9zIjogewogICAgICAgICAgICAieCI6IDI1NjAsCiAgICAgICAg
ICAgICJ5IjogMAogICAgICAgIH0sCiAgICAgICAgInByaW1hcnkiOiBmYWxzZSwKICAgICAgICAi
cm90YXRpb24iOiAxLAogICAgICAgICJzY2FsZSI6IDEKICAgIH0KXQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>