Skip to content

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

@dadwalgd

Description

@dadwalgd

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions