sienori / Tab-Session-Manager

WebExtensions for restoring and saving window / tab states
https://tab-session-manager.sienori.com/
Mozilla Public License 2.0
1.91k stars 187 forks source link

Restore windows position does not restore the desktop in which the window originated #913

Open karypid opened 2 years ago

karypid commented 2 years ago

Short description

When restoring a session, all windows are opened in the current desktop, even if the "Restore windows position" setting is enabled. I would expect each window to open in the virtual desktop where it originated from. I am using Windows 11.

Steps to reproduce

  1. Start Firefox with Tab Session Manager on Windows
  2. In Tab Session Manager's settings, make sure "Restore windows position" is enabled.
  3. Open at least two windows
  4. Place the first window in Virtual Desktop 1
  5. Place the second window in Virtual Desktop 2
  6. Wait for tab manager so save the session (with auto-save) OR save the session yourself.
  7. Restore the session by clicking on it to open

Expected result

After step 7 I expected two windows to be created: the first window in Desktop 1, and the second window in Desktop 2.

Actual result

Both windows are created in Desktop 1.

Platform information

Additional context

Chrome remembers the position of windows properly (i.e. it includes the desktop). It would be nice if this could be supported for Firefox as well.

pjoc commented 2 years ago

I have a similar requirement but I'm using the KDE desktop on Linux. Currently I use the X11 window manager but in time that will change to Wayland. I have multiple windows, each with multiple tabs, across several different desktops, where each desktop has a specific purpose. Having to move these windows around every time I log in is tedious and I would love to be able to avoid it.

allanlaal commented 1 year ago

Linux workspaces support is a must native Firefox restore already recognizes workspaces

all different Linux Desktop Managers use the same open standard afaik

use case

I use Linux workspaces like one uses tabs and browser windows (36 of them, a hardcoded limit in Mate Desktop) each new project gets its own workspace there I open up lots of browser windows with lots of tabs when I do research

often I want to save one of those sessions, but saving All windows means the session saved gets 35 workspaces worth of noise

Solution

option to save and an option to save & close all windows & tabs on current workspace

Alternative

lots of ridiculous manual labour

mabra commented 1 year ago

Thank you, I support this too! Sometimes needing an hour to re-arrange the windows to their workspaces!

pixeldesignstudio commented 1 year ago

Pleeeeeeease add this feature. It would save a lot of time! :)