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

All windows restored to same GNOME workspace #80

Open
rrthomas opened this issue Feb 8, 2021 · 7 comments
Open

All windows restored to same GNOME workspace #80

rrthomas opened this issue Feb 8, 2021 · 7 comments

Comments

@rrthomas
Copy link

rrthomas commented Feb 8, 2021

Thanks for lwsm! I really want to be able to save and restore my GNOME sessions.

👻 Brief Description

I saved my session, which was using about 6 GNOME workspaces. I then rebooted, and attempted to restore the session. It seemed to restore all the windows (plus a large number of blank full-screen Firefox windows???) but all on the same workspace.

🥞 Action version

restore

Steps To Reproduce

Steps to reproduce the behavior:

  1. Open applications on a number of workspaces.
  2. Save session lwsm save
  3. Reboot
  4. lwsm restore

🚓 Expected behavior

All windows restored to the same workspaces from which they were savd.

➕ Additional context

I checked the saved session and it looks correct: it has different workspace numbers for different windows. I am using Ubuntu 20.04 with GNOME 3.36.

@johannesjo
Copy link
Owner

Hi there! Thanks for opening this up. Personally I never encountered any issues with moving windows to their specified workspaces. Could you maybe narrow it down a bit more? Does it never work on your machine or just for your specific configuration? And if it's just for the configuration, could you maybe try to narrow it down?

@rrthomas
Copy link
Author

rrthomas commented Feb 8, 2021

I think it worked a while ago with an earlier version of lwsm, and possibly an earlier version of Ubuntu. I don't know what you mean by "specific configuration". Are you suggesting I try with a different set of windows? I could certainly do that!

@johannesjo
Copy link
Owner

mean by "specific configuration"

I mean the configuration you are trying to restore. Does it work with just two random apps for example?

@rrthomas
Copy link
Author

rrthomas commented Feb 9, 2021

I tried on another computer that has a mostly identical setup (same version of Ubuntu, same user settings). (I'm sorry, it takes several minutes to restore my windows manually to the correct virtual desktops, so I don't really want to do this too often on my main computer!)

I saved a configuration that had Firefox windows (from the same profile!) on two desktops. I then logged out and logged back in, and restored the session.

It correctly restored the windows to the same desktops on which they were originally located. However, it also opened the same number of blank windows.

@johannesjo
Copy link
Owner

It correctly restored the windows to the same desktops on which they were originally located. However, it also opened the same number of blank windows.

By blank windows, do you mean firefox windows?

@rrthomas
Copy link
Author

Sorry, yes: blank Firefox windows.

@johannesjo
Copy link
Owner

Might be that the app doesn't restore the windows properly because the restarting applications step is not completed properly, which might be caused by firefox messing around.

I gladly accept any PR dealing with this, but I currently don't have any time to investigate the issue myself. I'm pretty swamped with stuff popping up for Super Productivity.

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