https://bugs.kde.org/show_bug.cgi?id=477146
Bug ID: 477146 Summary: On X11, the last opened window is not restored by session restore Classification: Plasma Product: plasmashell Version: 5.27.80 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Session Management Assignee: plasma-b...@kde.org Reporter: kishor...@gmail.com Target Milestone: 1.0 SUMMARY In the Plasma 6 alpha, while using the X11 session, session restore does not restore the last window that the user opened, but all other windows seem to be restored correctly. STEPS TO REPRODUCE 1. Log in to the X11 session 2. In System Settings > Session > Desktop Session, set 'on login launch apps that were open:' to 'on last logout' 3. Close all open windows 4. Use krunner to open a Konsole window 5. Use krunner to open another Konsole window 6. Reboot by invoking krunner and typing 'restart' 7. Login to X11 session after reboot OBSERVED RESULTS The window opened in step 5 is not restored. EXPECTED RESULTS Windows of all applications that support session restore should be restored. ADDITIONAL INFORMATION A. If the window in step 5 is opened by using Konsole's Ctrl+Shift+N (new window) shortcut in the existing Konsole window, session restore restores both the Konsole windows (i.e. the bug does not occur). B. The same bug is reproducible for other applications like Dolphin and System Settings. C. The bug also occurs if the window in step 5 was opened through the application launcher menu (the one that is on the left side of the panel by default). D. Also reproducible in a fresh user account (ran `rm -rf .config .local .cache .bash*` in a tty to clear all settings). SOFTWARE VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Kernel Version: 6.1.62-1-lts (64-bit) Graphics Platform: X11 Konsole 24.01.75 Dolphin 24.01.75 -- You are receiving this mail because: You are watching all bug changes.