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

Windows not returning to the same tiling position #57

Open
rwjack opened this issue Sep 5, 2022 · 16 comments
Open

Windows not returning to the same tiling position #57

rwjack opened this issue Sep 5, 2022 · 16 comments

Comments

@rwjack
Copy link

rwjack commented Sep 5, 2022

Hello,

I'm using Pop!_OS 22.04 LTS (tiling enabled) with GNOME Shell 42.3.1

If I open Program A on the left of my workspace, and program B on the right (also open them in that order), when rebooting and automatically restoring windows, they always get swapped, B is on the left and A is on the right.

Any idea why this is happening or if it can be bypassed with some hackery? Perhaps it's a simple semantic issue in the code

@rwjack rwjack changed the title Windows returning to workspace, but not the same tiling position Windows not returning to the same tiling position Sep 5, 2022
@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

when rebooting and automatically restoring windows, they always get swapped, B is on the left and A is on the right.

In this case, are they still in tiling state, I mean when you resize either window, another window resizes too?

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

If I understood your question correctly, yes, tiling state is enabled at all times.

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Example with terminal and settings app:

  1. Desired state (First open settings then open terminal):
    image
  2. Press save button:
    image
  3. Reboot
  4. This happens on all workspaces with 2 saved windows.
    image

I haven't tried opening the windows in reverse, saving them in reverse, and seeing if they flip again. I'll do that on next reboot.

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

Do you use Wayland or X11?

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

X11

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Oddly enough, the windows didn't flip to the desired position when I saved them in reverse.

I made a mistake while typing the above comment:
1. Desired state (First open terminal then open settings): -> 1. Desired state (First open settings then open terminal):

The latter, edited version is correct.

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Here's a practical example. Discord and Element.

I want Discord on the left and Element on the right, even if we go alphabetically, that should be the correct order (D comes before E). Yet somehow they flip. That is when Discord actually opens on the correct workspace. Most of the time it just spawns on my first workspace making me have to click the Move windows to their workspace button.

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

I'll do that on next reboot.

What happens if you close them now and restore them using this button?

image.

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

For Thunderbird and Obsidian, the button seems to work.

For Discord and Element, the button always opens Element before Discord, so naturally they swap positions.

This might be some race condition. Perhaps if I could save Discord and Element in different sessions, but have Element open with a delay? I'm guessing that workaround could be applied to Thunderbird and Obsidian, since they also restore to opposite sides, but only on initial startup.

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

That is when Discord actually opens on the correct workspace. Most of the time it just spawns on my first workspace

Could you please attach and upload the logs during discord opens, it will be wonderful if you upload two log, one is when Discord actually opens on the correct workspace and another is when it just spawns on the first workspace

First enable the debuging model:
image

Then get the logs when you open Discord:
journalctl -o short-precise -f /usr/bin/{gjs,gjs-console,gnome-shell}

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Sure.

Though I'm not sure how to reproduce discord opening on the correct workspace on startup. As I said most of the time it opens on the first workspace, because when I login, the first workspace is presented to me, meaning
image this backend function of your extension, already ran when the first discord window is opened (some sort of updater window) - hence the actual discord window is ignored and left at the current workspace.

Below are logs for:

  • I'm sitting at workspace 1 (Discord opens on 3)
  • Both discord and element are closed
  • I pressed:
    image
  • What actually happened: Discord and Element open on their designated workspace (3), though Discord opens on right, and element on the left (opposite of desired)
~ took 6s ❯ journalctl -o short-precise -f /usr/bin/{gjs,gjs-console,gnome-shell}
Sep 05 15:49:18.442428 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Spotify/0x3e00003.json!
Sep 05 15:49:18.444573 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Slack/0x7e00003.json!
Sep 05 15:49:18.444749 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/thunderbird/0x80003a.json!
Sep 05 15:49:18.444975 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Alacritty/0x8e00004.json!
Sep 05 15:49:18.445176 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/firefox/0x400003e.json!
Sep 05 15:49:18.445385 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/obsidian/0x2400003.json!
Sep 05 15:49:18.689779 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] window-created -> shown: Alacritty -> agent@overlord:~
Sep 05 15:49:20.165018 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:20.165398 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:20.169841 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Alacritty/0x8e00004.json!
Sep 05 15:49:28.511443 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Restoring saved session from /home/agent/.config/another-window-session-manager/sessions/default
Sep 05 15:49:28.514007 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Thunderbird Mail is already running
Sep 05 15:49:28.515559 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Obsidian is already running
Sep 05 15:49:28.516781 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Firefox Web Browser is already running
Sep 05 15:49:28.517978 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Spotify is already running
Sep 05 15:49:28.577502 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Discord launched!
Sep 05 15:49:28.609782 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Element launched!
Sep 05 15:49:29.129470 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Moving Discord - Discord Updater to the primary monitor 0 from 1
Sep 05 15:49:29.130610 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] CEWM: Moving Discord - Discord Updater to workspace 4 from 2
Sep 05 15:49:29.131084 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Restoring window state of Discord - Discord Updater if necessary
Sep 05 15:49:29.138873 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Restoring window session from /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200001.json
Sep 05 15:49:29.139147 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200001.json
Sep 05 15:49:29.139464 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200001.json to local file
Sep 05 15:49:29.240868 overlord ubuntu-appindicators@ubuntu.com[2873]: unable to update icon for Element1
Sep 05 15:49:29.284460 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] window-created -> first-frame: Discord -> Discord Updater
Sep 05 15:49:29.284830 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] The window 'Discord - Discord Updater' is already on workspace 4
Sep 05 15:49:29.395611 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] The window 'Element - Element' is already on workspace 4
Sep 05 15:49:29.396207 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Restoring window state of Element - Element if necessary
Sep 05 15:49:29.398631 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Restoring window session from /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json
Sep 05 15:49:29.399074 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.399526 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.525641 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200001.json!
Sep 05 15:49:29.569706 overlord gnome-shell[2873]: Could not create transient scope for PID 11940: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 11940 does not exist.
Sep 05 15:49:29.570512 overlord ubuntu-appindicators@ubuntu.com[2873]: unable to update icon for discord1
Sep 05 15:49:29.582788 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.583220 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.583631 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.583868 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.626714 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] window-created -> first-frame: Element -> Element
Sep 05 15:49:29.627069 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] The window 'Element - Element' is already on workspace 4
Sep 05 15:49:29.628507 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.629031 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.629514 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.630015 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.630461 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.630967 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.631410 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.631904 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.632346 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.632844 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.633233 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.633709 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.699316 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.699975 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.700546 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.700945 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.735177 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x55b3661502f0] is on because it needs an allocation.
Sep 05 15:49:29.735189 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55b37227cf30] is on because it needs an allocation.
Sep 05 15:49:29.735194 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55b36fa7ea60] is on because it needs an allocation.
Sep 05 15:49:29.759328 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:29.844009 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.844398 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.844736 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.845111 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.845459 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.845803 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.846094 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.846416 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.846729 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.847052 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.847331 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.847661 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.848025 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.848259 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.848465 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.848684 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.848889 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.849122 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.849333 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.849550 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.849764 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.849989 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.850198 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.850440 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.850980 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.851305 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.851539 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.851790 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.852022 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.852269 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.852486 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.852709 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.852922 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.853164 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.853410 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.853645 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.853985 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.854226 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.854447 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.854767 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.855059 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.855383 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.855671 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.855998 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.856294 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.856619 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.856911 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.857247 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.857855 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.858213 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.858474 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.858737 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.858968 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.859209 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.859426 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.859681 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.859903 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.860155 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.860432 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.860758 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.861587 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.861854 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.862082 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.862369 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.862671 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.862996 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.863282 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.863606 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.863894 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.864227 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.864483 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.864755 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.865177 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.865534 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.865796 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.866028 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.866255 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.866494 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.866735 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.866968 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.867250 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.867573 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.867793 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.868025 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.881181 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.881699 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.882099 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.882507 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.882856 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.883209 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.883515 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.883887 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.884203 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.884537 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.884884 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x3e00003.json
Sep 05 15:49:29.885217 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x3e00003.json to local file
Sep 05 15:49:29.885669 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.886015 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.886320 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.886652 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.886902 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.887172 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.887477 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.887817 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.888128 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.888466 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.888771 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x7e00003.json
Sep 05 15:49:29.889102 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x7e00003.json to local file
Sep 05 15:49:29.889653 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.889985 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.890288 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.890637 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.890891 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.891161 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.891396 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.891660 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.891968 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.892341 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.892655 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x400003e.json
Sep 05 15:49:29.892998 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x400003e.json to local file
Sep 05 15:49:29.893408 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.893741 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.893980 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.894306 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.894616 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.894885 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.895128 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.895391 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.895694 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.896028 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.896327 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x8e00004.json
Sep 05 15:49:29.896656 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x8e00004.json to local file
Sep 05 15:49:29.897152 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.897481 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.897788 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.898047 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.898358 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.898760 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.899109 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.899393 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.899714 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.900051 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.900401 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.900740 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.901571 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.901840 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.902087 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.902414 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.902685 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.902948 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.903192 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.903516 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.903824 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.905011 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.905421 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x80003a.json
Sep 05 15:49:29.905744 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x80003a.json to local file
Sep 05 15:49:29.906063 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.906394 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.906662 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.906924 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.907222 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.907541 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.907848 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.908173 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.908476 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.908806 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.909047 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x2400003.json
Sep 05 15:49:29.909379 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x2400003.json to local file
Sep 05 15:49:29.920888 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200001.json
Sep 05 15:49:29.921269 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200001.json to local file
Sep 05 15:49:29.923564 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.923905 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.924632 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:29.925032 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:29.926780 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Spotify/0x3e00003.json!
Sep 05 15:49:29.927077 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Slack/0x7e00003.json!
Sep 05 15:49:29.927335 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/firefox/0x400003e.json!
Sep 05 15:49:29.927607 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/thunderbird/0x80003a.json!
Sep 05 15:49:29.927904 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/obsidian/0x2400003.json!
Sep 05 15:49:29.928177 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Alacritty/0x8e00004.json!
Sep 05 15:49:29.941083 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x55b3661502f0] is on because it needs an allocation.
Sep 05 15:49:29.941095 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55b37227cf30] is on because it needs an allocation.
Sep 05 15:49:29.941100 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55b36fa7ea60] is on because it needs an allocation.
Sep 05 15:49:29.978005 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200001.json!
Sep 05 15:49:29.978166 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:30.504295 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.505050 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.505300 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.505522 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.505744 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.505952 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.506146 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.506356 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.506549 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.506770 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.506957 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.507158 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.507453 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.507655 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.507940 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.508258 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:30.568388 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x55b3661502f0] is on because it needs an allocation.
Sep 05 15:49:30.568403 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55b37227cf30] is on because it needs an allocation.
Sep 05 15:49:30.568411 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55b36fa7ea60] is on because it needs an allocation.
Sep 05 15:49:30.621863 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:30.997163 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:30.997437 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.003539 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:31.648844 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Restoring window session from /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200008.json
Sep 05 15:49:31.649125 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.649565 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.783714 overlord gnome-shell[2873]: Could not create transient scope for PID 12138: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 12138 does not exist.
Sep 05 15:49:31.786259 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.786652 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.787340 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.787678 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.865061 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] window-created -> first-frame: Discord -> Discord
Sep 05 15:49:31.866657 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.866921 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.867146 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.867365 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.867596 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.867821 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.868017 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.868224 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.868445 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.868735 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.869062 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.869346 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.869841 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.870196 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.870498 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.870846 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.871175 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.871552 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.871936 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.872396 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.872767 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.873104 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.873384 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.873714 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.875571 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:31.875935 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:31.876834 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.877147 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.877776 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:31.878018 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:31.905220 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x55b3661502f0] is on because it needs an allocation.
Sep 05 15:49:31.905239 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55b37227cf30] is on because it needs an allocation.
Sep 05 15:49:31.905248 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55b36fa7ea60] is on because it needs an allocation.
Sep 05 15:49:31.905254 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x55b37227d320] is on because it needs an allocation.
Sep 05 15:49:31.905274 overlord gnome-shell[2873]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x55b36fa7e6e0] is on because it needs an allocation.
Sep 05 15:49:31.983649 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:31.983821 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200008.json!
Sep 05 15:49:32.290394 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.292230 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.293511 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.295123 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.296707 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.298642 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.299950 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.301152 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.302941 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.304750 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.306417 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x6200003.json
Sep 05 15:49:32.308259 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x6200003.json to local file
Sep 05 15:49:32.310231 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.311997 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.313426 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.314818 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.315787 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.316791 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.317598 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.318434 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.319249 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.320213 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.321393 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:32.322127 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:32.330506 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/Element/0x6200003.json!
Sep 05 15:49:32.332474 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200008.json!
Sep 05 15:49:33.035242 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Generating window session 0x5200008.json
Sep 05 15:49:33.035683 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] Saving session 0x5200008.json to local file
Sep 05 15:49:33.040678 overlord gnome-shell[2873]: [INFO   ][Another window session manager] Saved session into /tmp/another-window-session-manager/sessions/currentSession/discord/0x5200008.json!
Sep 05 15:49:34.679379 overlord gnome-shell[2873]: [DEBUG  ][Another window session manager] window-created -> shown: Alacritty -> agent@overlord:~
^C

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

the button always opens Element before Discord

The restore or open order is not guaranteed. It launches apps asynchronously. This happens very fast. It probably can launch twenty apps in just seconds.

I want to sort the saved apps by the time they takes to fully open and restore them from the longest in the future.

@nlpsuge
Copy link
Owner

nlpsuge commented Sep 5, 2022

Though I'm not sure how to reproduce discord opening on the correct workspace on startup.

No need to reproduce it on startup. You can restore it anytime using the restore button:

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

If the restore order is not guaranteed, I'm not sure if this might be an issue related to your extension. Perhaps it could be Pop OS's tiling, simply placing newly opened windows to the right, and if Discord opens after Element, it's always going to be on the right.

I'm thinking the only thing your extension can do in this scenario is trigger the Move windows to workspaces method after the window is fully opened.

On second thought I think that is exactly what happens.

  • Open discord/element
  • discord opens update window, element opens normally
  • doesn't matter if discord won the above race to be on the left side, the second/actual discord window will open as a newly open window, getting automatically placed to the right of the current one, being element in this case.

Only way to fight this is to open apps sequentially, in the same order which they are initially opened. Not sure how complicated this would be from your side. Or perhaps multitask workspaces, but open sequentially on each workspace.

Eg.

  1. Thunderbird (start -> finish), Obsidian (start -> finish), done
  2. Firefox (start -> finish), done
  3. Discord (start -> finish), Element (start -> finish), done

1,2,3 could be multitasked, with each app being ran sequentially.

Not sure how I would implement the "finish" state, other than possibly hardcoding sleep timers for entire workspaces between a loaded window and before starting to open a new window.

Eg.

  1. Thunderbird (start -> sleep X), Obsidian (start -> sleep X), done
  2. etc...

Or maybe better, having a GUI option to show all windows that will be opened on startup, and having the user chose a delay for that window.

Eg.

  1. Thunderbird (start -> if startup_time[thunderbird] != null ; then sleep startup_time[thunderbird] ), Obsidian(etc...)

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

So now if I try to press the Move windows to their workspaces button, discord and element just flip to the correct position for half a second (some sort of load state), and they just return to the undesired position.

If I move discord away from the workspace, and then press the button, discord goes back to it's workspace, though on the right side (wrong) - technically correct from a tiling point of view, it just goes to that workspace and is added to the right side of current window.

Same happens if I move element away from the workspace, and then press the button, only this time, since the process is reversed, element is placed on the right side, giving me the desired view.

@rwjack
Copy link
Author

rwjack commented Sep 5, 2022

Or I could have saved precious time for both of us, and just went the linux hackery way:

  • element-desktop.desktop
#!/bin/bash

sleep 5
/opt/Element/element-desktop

Works like a charm.

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

2 participants