<?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>439366</bug_id>
          
          <creation_ts>2021-07-01 10:19:42 +0000</creation_ts>
          <short_desc>All windows should open in the primary display if the secondary display is switched off or an option for it is checked</short_desc>
          <delta_ts>2021-08-19 19:36:48 +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.14.5</version>
          <rep_platform>Debian stable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>378896</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>myndstream</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>mikel5764</cc>
    
    <cc>nate</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>2044518</commentid>
    <comment_count>0</comment_count>
    <who name="">myndstream</who>
    <bug_when>2021-07-01 10:19:42 +0000</bug_when>
    <thetext>SUMMARY
First of all, I&apos;m not sure if this is the correct package and component to file this issue, please move it elsewhere if the selected product/component is not appropriate.

Under displays I have selected a screen as &quot;Primary display&quot;. Despite of that some windows keep getting opened on a secondary display that is switched off.
It would be best if it detected that the screen is switched off and display all windows in the primary display. Alternatively or additionally, there could be an option like &quot;open all windows in primary display&quot; in case that can&apos;t be detected or if the user wants all windows to open in the primary display despite of additional displays being connected and switched on.

Some windows keep getting opened in a secondary, switched-off display even though I moved them to the primary display which means if they opened in the secondary display due to remembering their position they should open in the primary display from that point on. These are VeraCrypt windows but it also happens for other programs iirc.

STEPS TO REPRODUCE
1. Connect two monitors and select one as primary display
2. Turn off the secondary display
3. Use the computer until a window such as a VeraCrypt window is opened in the secondary display

OBSERVED RESULT
Window opens in switched-off secondary display.

EXPECTED RESULT
Should open in switched-on primary display.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian10
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048524</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-07-23 16:19:01 +0000</bug_when>
    <thetext>Is the left-most display not the primary one? If not, then this is Bug 427875.

Also please note that Plasma 5.14 is quite ancient and I would strongly recommend upgrading. We&apos;re on 5.22 right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048559</commentid>
    <comment_count>2</comment_count>
    <who name="">myndstream</who>
    <bug_when>2021-07-23 19:41:43 +0000</bug_when>
    <thetext>The left-most display is not the primary one despite of the windows getting opened there (sometimes even after moving the window to the other screen and closing the window).

Yes, I would use a newer version but I&apos;m using what is available for Debian 10 stable. If possible please make Debian get a newer version of KDE up or create an unofficial repo for newer KDE packages for Debian (I guess that would cause a lot of mismatching packages troubles though).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048578</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-07-23 21:19:29 +0000</bug_when>
    <thetext>Yup, this is Bug 427875.

KDE isn&apos;t responsible for Debian packagers&apos; decision to ship two year old software in their &quot;Stable&quot; version. I would recommend that you use Debian Testing if you want a reasonable up-to-date KDE experience.

That said, this bug isn&apos;t fixed even in the latest version so it&apos;s not like that would help here. :)

*** This bug has been marked as a duplicate of bug 427875 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054570</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-19 19:36:48 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>