Bug 455324

Summary: Terminal open/closed state is incorrectly restored
Product: [Applications] dolphin Reporter: Patrick O'Callaghan <pocallaghan>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel, miranda, postix
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick O'Callaghan 2022-06-15 12:12:30 UTC
SUMMARY
When restoring Dolphin windows, the Terminal open/closed state of one window is copied for all of them, rather than being treated individually.

STEPS TO REPRODUCE
1. Open several Dolphin Windows, and open Terminal in some but not all
2. Close session (e.g. log out)
3. Log in again.

OBSERVED RESULT
All the Dolphin windows have the same Terminal state, either open or closed. Which one it is appears to be random (or may depend on which one was active when the session was closed, but I haven't checked this).

EXPECTED RESULT
Each window should have its correct Terminal state restored to what it was.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 36
(available in About System)
KDE Plasma Version: 5.24 (and earlier versions)
KDE Frameworks Version: 22.04 (and earlier versions)
Qt Version: 6.3 (and earlier versions)

ADDITIONAL INFORMATION
Running under X11 as Wayland session restore is still broken.
Comment 1 Patrick O'Callaghan 2022-07-13 10:18:50 UTC
The restored state corresponds to the topmost (selected) window at the time Dolphin exits. This affects not only the terminal state but also the window dimensions.