<?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>435575</bug_id>
          
          <creation_ts>2021-04-10 12:44:32 +0000</creation_ts>
          <short_desc>kwin_x11 --replace doesn&apos;t preserve activities</short_desc>
          <delta_ts>2022-07-27 15:13:05 +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>activities</component>
          <version>5.20.5</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>438312</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="Alex">allo</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>aspotashev</cc>
    
    <cc>kde</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>2024019</commentid>
    <comment_count>0</comment_count>
    <who name="Alex">allo</who>
    <bug_when>2021-04-10 12:44:32 +0000</bug_when>
    <thetext>SUMMARY

When using kwin_x11 --replace all windows are assigned to &quot;all activities&quot;

STEPS TO REPRODUCE
1. Have some windows on different activities
2. Run kwin_x11 --replace

OBSERVED RESULT

All existing windows are assigned to &quot;all activities&quot;

EXPECTED RESULT

kwin could preserve the information about to which activity a window belongs, when replacing kwin with a new instance of kwin.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.20.5
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031211</commentid>
    <comment_count>1</comment_count>
    <who name="Alex">allo</who>
    <bug_when>2021-05-09 09:54:08 +0000</bug_when>
    <thetext>*** Bug 418972 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031212</commentid>
    <comment_count>2</comment_count>
    <who name="Alex">allo</who>
    <bug_when>2021-05-09 09:56:46 +0000</bug_when>
    <thetext>The same happens, when changing the window decoration style (does this restart kwin?)

One could think this is an edge case, but my workaround for Bug 435972 is to either use kwin_x11 --replace or change the window decoration to another one and then back to Plastik and then I need to re-assign activities every time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141865</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2022-07-27 15:13:05 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>