Created attachment 128671 [details] my ksmserverrc after logging out of the x11 session SUMMARY I'm used to being greeted with my last windows on login – I configured ksmserver that way. I recently tried logging in with the Plasma Wayland sessions instead of the normal X one and most things worked, but all windows from the last session (except the ones for which I configured window rules) were opened on the first virtual desktop. STEPS TO REPRODUCE 1. log in to a Plasma X11 session 2. open kcmshell5 kcmsmserver and configure it so that the last session is restored on login 3. open a few windows on various virtual desktops 4. log out and log back in 5. see that the windows are in the same place you left them 6. log out, but log back in with a Plasma Wayland session 7. see that windows are all on the first virtual desktop (unless you configured window rules) OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I should have scrolled down. m) OBSERVED RESULT windows are placed on the first virtual desktop EXPECTED RESULT windows are on the original virtual desktop > SOFTWARE/OS VERSIONS > Linux/KDE Plasma: Kubuntu 20.04 > (available in About System) > KDE Plasma Version: 5.18.5 > KDE Frameworks Version: 5.68.0
STEPS TO REPRODUCE 1. log in to a Plasma X11 session 2. open kcmshell5 kcmsmserver and configure it so that the last session is restored on login 3. open a few windows on various virtual desktops 4. log out and log back in 5. see that the windows are in the same place you left them 6. log out, but log back in with a Plasma Wayland session 7. see that windows are all on the first virtual desktop (unless you configured window rules) OBSERVED RESULT - X11 Okular windows open in correct Activities. Firefox windows do not open in correct Activities, but do open in first defined Activity. Terminal windows do not open. Amule does not open in correct Activities. EXPECTED RESULT - X11 Okular windows open in correct Activities. Firefox windows open in correct Activities. Terminal windows open in correct Activities. Amule opens in correct Activity. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Operating System: Fedora 34 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.14.12-200.fc34.x86_64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: Radeon RX 570 Series OBSERVED RESULT - Wayland Okular windows does not open. Firefox windows opens in correct Activities. Terminal windows do not open. Amule does not open in correct Activities. EXPECTED RESULT - Wayland Okular windows open in correct Activities. Firefox windows open in correct Activities. Terminal windows open in correct Activities. Amule opens in correct Activity. SOFTWARE/OS VERSIONS Windows: macOS: Operating System: Fedora 34 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.14.12-200.fc34.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: Radeon RX 570 Series ADDITIONAL INFORMATION Second monitor lost wallpaper when switching from X11 to Wayland.
More discussion in bug 442380
Now that David fixed https://bugs.kde.org/show_bug.cgi?id=442380, can you still reproduce the issue with KDE Plasma 5.25.2, or can we close this one as well?
(In reply to kde.org from comment #4) > Now that David fixed https://bugs.kde.org/show_bug.cgi?id=442380, can you > still reproduce the issue with KDE Plasma 5.25.2, or can we close this one > as well? As soon as the distros pick it up and we can veryify. As of this post Fedora has not so it is hard to test.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I use the X11 version and it now seems to work properly.
This issue (applications on wrong desktop after session restore) is still reproducible on Wayland (X11 is fixed, as mentioned earlier). Operating System: Arch Linux KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Kernel Version: 5.15.55-1-lts (64-bit) Graphics Platform: Wayland Processors: 4 × AMD EPYC Processor (with IBPB) Memory: 1.4 GiB of RAM Graphics Processor: virgl Manufacturer: QEMU
Firefox windows using xwayland used to be often restored in the corresponding virtual desktops and on the corresponding monitor (although not always, some of my 25 Firefox windows were almost always misplaced), but after I configured it to use native Wayland (for better performance), it starting opening in the first virtual desktop on the same monitor (not primary, though) just like Firefox Nightly, which uses Wayland by default, has been doing.