linux-window-session-manager
linux-window-session-manager copied to clipboard
Bug in restoring session with --closeAllOpenWindows from Terminal
Your Environment
- Version used: 4.0.5
- Operating System and version: Ubuntu 21.10
- Desktop Environment:
- Node version:
- List of Applications that are open (lwsm save) or should be opened (lwsm restore):
Expected Behavior
It is expected that when in restore session with --closeAllOpenWindows option from terminal, either it should close the terminal and restore the session or if that's not possible it should avoid closing terminal and restore all other windows of stored session
Current Behavior
What I am seeing on using --closeAllOpenWindows option from terminal is that, it first asks to close the terminal. And If i choose to close the terminal, then restoration of session is stopped as well. In the other case, the process stops at closing open windows and nothing happens afterwards ( as It was unable to close the terminal ( one of the open windows ).
Steps to Reproduce (for bugs)
1.Open the terminal 2.Open some windows for ex. files, system monitor, settings etc.. 3.type command " lwsm save "session_name" " into the terminal 4.now close all open windows except terminal 5.Then restore the saved session with --closeAllOpenWindows option by typing the command " lwsm restore "session_name" --closeAllOpenWindows "
How about executing lwsm restore &
?
Apart from that: PRs are welcome!
How about executing
lwsm restore &
?Apart from that: PRs are welcome!
No, that doesn't work. It closes the terminal (during closeAllWindows process) and then nothing happens(no restoration).