Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in restoring session with --closeAllOpenWindows from Terminal #91

Open
dadwalgd opened this issue Dec 10, 2021 · 2 comments
Open

Bug in restoring session with --closeAllOpenWindows from Terminal #91

dadwalgd opened this issue Dec 10, 2021 · 2 comments

Comments

@dadwalgd
Copy link

dadwalgd commented Dec 10, 2021

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 "

Screenshot from 2021-12-10 20-07-26

@johannesjo
Copy link
Owner

How about executing lwsm restore &?

Apart from that: PRs are welcome!

@dadwalgd
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants