<?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>496063</bug_id>
          
          <creation_ts>2024-11-10 18:42:26 +0000</creation_ts>
          <short_desc>When restoring session with multiple virtual desktops applications that are being restored keep switching virtual desktops</short_desc>
          <delta_ts>2025-10-22 19:58:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Session Management</component>
          <version>6.2.3</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15329</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>zzrakic</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>kdedev</cc>
    
    <cc>natalie_clarius</cc>
    
    <cc>nate</cc>
    
    <cc>pm</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>2373253</commentid>
    <comment_count>0</comment_count>
    <who name="">zzrakic</who>
    <bug_when>2024-11-10 18:42:26 +0000</bug_when>
    <thetext>***
If you&apos;re not sure this is actually a bug, instead post about it at https://discuss.kde.org

SUMMARY
When restoring (desktop) session (after reboot or shutdown) with multiple virtual desktops applications that were opened on different virtual desktops keep switching virtual desktops as they are launching. To be clear, applications are opening on proper virtual desktops on which they were initially opened but current active virtual desktop keeps switching as apps are starting.

STEPS TO REPRODUCE
1. Enable &quot;Session Restore&quot; in &quot;Desktop Session&quot; settings (I use manually saved but same happens with &quot;On last logout&quot;
2. Open different apps on different virtual desktops (terminal on 1., 2. browser, 3. messaging app, 4. note taking app, etc.)
3. Reboot/Shutdown

OBSERVED RESULT
After logging in active virtual desktop keeps switching and you land on the one where the last app opened.

EXPECTED RESULT
After logging in, session starts on virtual desktop 1 (or ideally on one that user can pick), all the apps are opened on proper virtual desktops in background without changing the active virtual desktop.

Another option would be that they start during the &quot;Splash Screen&quot; and then sessions starts with virtual desktop 1.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Tried changing &quot;Virtual Desktop behavior: When activating a window on a different Virtual Desktop:&quot; from &quot;Switch to that Virtual Desktop&quot; to &quot;Do nothing&quot; but that didn&apos;t help with this issue. Also I would like to keep this option to &quot;Switch to that Virtual Desktop&quot; since it&apos;s useful when opening links.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2380953</commentid>
    <comment_count>1</comment_count>
    <who name="Petr">pm</who>
    <bug_when>2024-12-13 10:22:51 +0000</bug_when>
    <thetext>maybe related to bug 484209</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2424013</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-05-14 19:25:15 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 482816 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463913</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:51:35 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>