Bug 455324 - Terminal open/closed state is incorrectly restored
Summary: Terminal open/closed state is incorrectly restored
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: terminal (show other bugs)
Version: 22.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 12:12 UTC by Patrick O'Callaghan
Modified: 2023-11-25 22:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.