SUMMARY *** With 'Session Restore' option enabled, on the next login the all applications are restored in Virtual Desktop 1 even though they were in different virtual desktops while logging out (specific to Wayland, works fine in X11) *** STEPS TO REPRODUCE 1. Open Plasma Settings and go to Session->Desktop Session->Session Restore option 2. Check 'On Last Logout' (or 'When session was manually saved') option 3. Open an application (e.g. Firefox) in virtual desktop 2 4. Restart the machine OBSERVED RESULT On restart, Firefox appears on the default desktop (desktop 1) EXPECTED RESULT On restart, Firefox should appears on the desktop 2 SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 6.7.8-arch1-1 (available in About System) KDE Plasma Version: 6.0.1 KDE Frameworks Version: Qt Version: QT 6 ADDITIONAL INFORMATION This works fine with X11 i.e. the applications are restored in correct desktops
I remember seeing a duplicate of this, but I can't find it now...
There's Bug 336990, but it looks like there may be a bunch of different issues that need to be tracked separately.
I can confirm that I'm seeing the exact same behaviour. Windows are restored on the virtual desktops where they were before when using X11, but it's broken on Wayland. I tested this by logging out, switching from Wayland to X11 (in the bottom left corner of the login screen), and logging back in again. Notably, this has nothing to do with restoring the Plasma user session. Windows should restore correctly even when simply restarting (or closing/reopening) Firefox. Meanwhile, Chromium windows restore just fine on the correct virtual desktops in Wayland. So it's a Firefox-specific issue. Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-26-generic (64-bit)
After some further testing, I can confirm that in Wayland the size of Firefox windows is restored correctly, but neither their position nor the specific screen (in a multi-screen system) nor the virtual desktop is restored. All windows just pop up in the centre of the primary screen on the current virtual desktop.
*** Bug 484318 has been marked as a duplicate of this bug. ***
Still not working properly in Plasma 6.3.1 I have a saved session with 3 open apps on an 8 virtual desktops setup. Dolphin on 1, Konsole on 5, Firefox on 7, all of them visible on all Activities. When I log in they all are opened but on the last desktop active when I logged out. Operating System: openSUSE Tumbleweed 20250221 KDE Plasma Version: 6.3.1 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.13.3-1-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics Memory: 30.5 GiB of RAM Graphics Processor 1: NVIDIA GeForce RTX 3070 Ti Laptop GPU Graphics Processor 2: AMD Radeon 680M Manufacturer: LENOVO Product Name: 82RD System Version: Legion 5 15ARH7H