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

Multiple instances of the same application restored incorrectly #77

Open
hexwit opened this issue Oct 19, 2020 · 4 comments
Open

Multiple instances of the same application restored incorrectly #77

hexwit opened this issue Oct 19, 2020 · 4 comments

Comments

@hexwit
Copy link

hexwit commented Oct 19, 2020

I have multi workspace setup.
Opened Intellij Idea IDE on first workspace, and another instance of Idea IDE with another project on second workspace.
Saved session and restarted machine.

Expected results: both instances restored in correct workspaces.
Actual result: one instance launched on second workspace.

Is it possible to handle this issue? May be some workaround?

@johannesjo
Copy link
Owner

Hey hexwit! Unfortunately, I haven't found a way to deal with that from lwsm. Intellij Idea (which I also use) handles its windows on its own. What you might try is editing the session file manually and to experiment with specifying a project to open from the command line interface (https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#arguments). But apart from this I am not sure if it's possible to solve this dynamically in a convenient manner.

@hexwit
Copy link
Author

hexwit commented Oct 19, 2020

Config editing is fine for me. I am under linux :D
Thanks

@johannesjo
Copy link
Owner

Please let me know if you can make it work!

@MarceloFCandido
Copy link

I have a similar problem. Usually my current default would be:

  • workspace 1: alacritty for running spotify-tui
  • workspace 2: vivaldi browser
  • workspace 3: vscode + alacritty
  • possible workspace 4: alacritty again (for opening files)

The extension doesn't save and restore all alacritty windows, just one.

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

No branches or pull requests

3 participants