Coder Social home page Coder Social logo

nlpsuge / gnome-shell-extension-another-window-session-manager Goto Github PK

View Code? Open in Web Editor NEW
135.0 135.0 8.0 730 KB

A Gnome shell extension to close open windows gracefully and save them as a session. The previous session can be restored at startup. Most importantly, it supports both X11 and Wayland!

Home Page: https://extensions.gnome.org/extension/4709/another-window-session-manager/

License: GNU General Public License v3.0

JavaScript 99.40% CSS 0.54% Shell 0.06%
dbus gnome-shell-extension gnome-shell-extensions gnome3 linux productivity session-management session-manager wayland windows-manager xorg

gnome-shell-extension-another-window-session-manager's People

Contributors

mendres82 avatar nlpsuge avatar remcoschrijver avatar spfanning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gnome-shell-extension-another-window-session-manager's Issues

Rename "Power off (via AWSM)"

I love the app, it does exactly what I want it to do. It saves my session on restart / shut down and then restores them when I boot back up. Thank you so much for making this extension.

image

I do have some suggestions on making the power off / restart / log out dialogue better. Instead of "{Action} (via AWSM)" it would read better if it said "save session & {action}" So:

  • Save Session & Power Off
  • Save Session & Restart
  • Save Session & Log Out

The (via AWSM) really doesnt make a whole lot of sense at first even after I just installed AWSM. Mostly because I did not install AWSM I installed gnome-shell-extension-another-window-session-manager

Also I like count down but could you make a third option for performing the action right now without saving session? It would also be nice if this button was red to indicate that it going to reboot / shut down / log you out without saving your session. So the options would be:

  • Power Off Now
  • Restart Now
  • Log Out Now

This would make your extension better than the way MacOS does their dialogue as you have to check / uncheck a box to perform the action you want to do. As I would explicitly tell the extension what I want it to do.

I guess this would require a default action for what the extension should do if the clock runs out of time. So you could optionally put that in the dialogue, and put that in the settings of the app. Dialogue option should change what the default option in the settings menu so that I don't have to set this every time.

Dragging windows becomes choppy when the extension is enabled

The extension seems to be somehow impacting performance. The screencast doesn't record window movement for some reason. The only thing visible is during the last 3 seconds - showing how smooth window dragging is with the extension disabled. Otherwise window dragging is choppy and extremely delayed.

Occurs on: Pop!_OS 22.04 LTS | GNOME Shell 42.3.1

screencast.mp4

Reopen the files in the software as well

The extension would really be the best if it could also reopen the files you were working on at the time of saving. For example, if I am working on pdfs opened with evince and odts opened with writer, at the time of the resume, evince and writer will only be reopened but not the files I was working on.

Change the "Are you sure to close open windows ?" to "Confirm ?" ?

From the extensions page:

Hi M4444T,

As a note/improvement, maybe change the "Are you sure to close open windows ?" to "Confirm ?" . The original warning is too big on my 14 inch screen display, and the extension popup has to extend to show it.

I'll add your suggestion in to my to-do list.

I think the gap between the text and the buttons is too large. I tries to make the gap smaller, but failed ...

Support saving/restoring window size and position

This is only to make an issue for tracking when this is done :)

From the extensions page:

Hi oshikuru,

Saving/restoring size and position is buggy, it does not work expectedly, so I remove it. But it should be a must feature, I'll fix it in the future.

Thanks for support. :)

Arch Linux Gnome Shell 42.2 - freezing when this extension is enabled

Hi,

After recent system update I've noticed that when this extension is enabled, the gnome freezes for some time (from few to tens of seconds) when logging in or unlocking the screen. Also restarting the shell using Alt+F2 and typing r causes the shell to freeze.

I've decided to test if it's one of the extensions I'm using and I've disabled all of them on by one and the behaviour stopped after disabling Another Window Session Manager. To check if it's maybe a conflict with another extension, I've kept all the other disabled and the freezing comes back when only this extension is active.

The extension is great and I've been using it without any issues for some time now. Also other than freezing the shell, the extension still works as advertised.

There are no errors regarding this extension in the journal. Please let me know if there's any way to debug this. I'm not familiar with creating/debugging gnome extensions so I need some guidance to be able to give you more details.

notifications

as much as i love this extension, which is a lot, those recently introduced popup notifications are quite annoying. any chance they can be made optional?

thanks :)

Is there a way to restore a custom session from the command line

Hello,
I have an automated script to update packages, extensions, and snaps.
For the snaps, specifically for Firefox, I have to kill it before updating (refresh) the snap.
The problem is restarting firefox with a simple firefox &, restores a different set of windows disregarding the workspaces set by AWSM. Obvious.

My question is if there is way to restore an AWSM named session, let's say, MySession, from the command line?

Thanks.

Time based session restoring

Seemed like a pretty cool idea I thought of while taking a shower.

It would just be a simple automation to prevent unnecessary clicks.

Example, each session has it's "timeframe" array, of type date-range.
Session 1 - timeframe = [ Mon 08:00 - Fri 16:00 ] # If automatic restoring for this session is enabled, and the timerange fits (after Mon 08:00 and before Fri 16:00), open it, otherwise just skip it. This is only for automations, a button click should restore the session any time it is pressed.
Session 2 - timeframe = [ Mon 08:00 - Mon 16:00 , Fri 08:00 - Fri 16:00] # This session only opens only on Monday and Friday, during work hours
Session 3 - timeframe = [ every day ] # If enabled, opens every time

Duplicate windows / multiple instances of one app support

Hi,
It looks like the extension does not support multiple instances of one window/app.
Only one of the stored apps opens, despite the fact, that the json file does store the multiple instances.

The problem is with the recovery:
By analyzing the logs, it looks like the windows are being restored by their titles - if a window with a specific title is open, then another one wont open. When the session is being stored, the windows, depending on their content have different titles. But on restoration (reopening the windows), the title resets to their default (because certain apps launch with a default state), which causes the extensions to ignore the following instances, because they all have the same "title".
By the session json file, it does not seem like the windows have a unique ID assigned, which would imply, that they are being stored/restored based on their title, and this causes the issue I have described.

Related apps in the issue:

  1. Terminal
  2. Firefox

Please let me know, if I get it right, and if yes, would it be possible to include multiple instances of apps in the extension?

Environment:
Ubuntu 22.04
Gnome 42.9
Windowing System: X11

How to run the extension from the terminal

Hi, this is not a issue, but trying to find a way to control the extension from terminal and gnome 40.4.0
I want to use it within kvm hooks to save the current session with a given name and then restart the session again.
Is there any way to accomplish this?

SyntaxError on installation via extension manager in GNOME 45 on Ubuntu 23.10

Description

Attempting to install the another-window-session-manager extension via the extension manager results in a SyntaxError related to import declarations.

Steps to Reproduce

  1. Open the extension manager.
  2. Attempt to install another-window-session-manager.
  3. Observe the error message.

Expected Behavior

The extension should install without any syntax errors.

Actual Behavior

The installation process is interrupted by the following error message:

SyntaxError: import declarations may only appear at top level of a module

Stack trace:
@file:///home/bene/.local/share/gnome-shell/extensions/another-[[email protected]](mailto:[email protected])/prefs.js:4:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

System Information

  • GNOME version: 45
  • Ubuntu version: 23.10
  • Extension version: 41
  • Installation method: Extension manager

Potential Causes

It seems that there may be an issue with how the imports are being handled within the prefs.js file of the extension.

Suggested Fix

It might be necessary to review the prefs.js file to ensure that import declarations conform to the ES6 module standards.


SyntaxError: expected expression, got '.'

Stack trace:
  @/home/ialonso/.local/share/gnome-shell/extensions/[email protected]/prefs.js:13:26
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:5
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

GNOME Version: 3.36.8
Windowing System: Wayland

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.5 LTS
Release:	20.04
Codename:	focal
5.15.0-58-generic #64~20.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

ydotoool.service not found

I tried enabling the Auto close session option today, but I keep getting this error and nothing happens.

I installed apt install ydotool, but no avail.
ydotool/jammy,now 0.1.8-3 amd64 [installed] <- doesn't seem to be above 1.0.0

Any ideas?

image

Restore Window Tiling

When I make a pair of tiled windows, I can resize both of them together by dragging the border between them. However, after restart and restoring a session it no longer works.

Raise Windows Together

This option is present in Restore Sessions settings, and my assumption was that it should, for a pair of tiled windows, raise the other one when one of them is brought to foreground e.g. by Alt-Tab. I could not make it working - am I doing something wrong?

Windows not returning to the same tiling position

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

Some apps load titles after first-frame has already emmitted

In this case, the windows can't be restored in time, but they will be restored soon if you switch to another Workspace, and click to focus the windows again, this is because I added restore code in the MetaWindow::shown signal.

The below apps have this behavior:

  • VS Code
  • JetBrains products (I only tested with IDEA and WebStorm)

Extension causing segmentation faults

When extension is enabled Gnome starts crashing frequently.
I dug around in journalctl and found a bunch of JS ERROR: out of memory and

JS ERROR: [ERROR  ][Another window session manager] Error adding session items while session was changed: GLib.FileError: Failed to map /home/lacko/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled' /home/lacko/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled': mmap() failed: Cannot allocate memory
                                        getSettings@resource:///org/gnome/shell/misc/extensionUtils.js:200:31
                                        PrefsUtils@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/utils/prefsUtils.js:10:40
                                        Log@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/utils/log.js:12:28
                                        _init@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/ui/sessionItemButtons.js:34:21
                                        SessionItemButtons@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/ui/sessionItemButtons.js:29:1
                                        _init@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/ui/sessionItem.js:43:36
                                        PopupBaseMenuItem@resource:///org/gnome/shell/ui/popupMenu.js:73:4
                                        PopupMenuItem@resource:///org/gnome/shell/ui/popupMenu.js:277:1
                                        SessionItem@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/ui/sessionItem.js:13:1
                                        _addSessionItems@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/indicator.js:350:20
                                        async*_sessionChanged@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/indicator.js:433:14

as well as

Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
                                          _promisify/proto[asyncFunc]@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:420:16
                                          RemoteSearchProvider@resource:///org/gnome/shell/ui/remoteSearch.js:211:20
                                          RemoteSearchProvider2@resource:///org/gnome/shell/ui/remoteSearch.js:342:9
                                          loadRemoteSearchProvider@resource:///org/gnome/shell/ui/remoteSearch.js:117:34
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28
                                          loadRemoteSearchProviders@resource:///org/gnome/shell/ui/remoteSearch.js:140:15
                                          _reloadRemoteProviders@resource:///org/gnome/shell/ui/search.js:624:22

finally

Nov 05 20:43:35 t490 gnome-shell[8447]: JS ERROR: [ERROR  ][Another window session manager] Error adding session items while session was changed: Error: Must pass an exception and optionally a message to logError()
                                        error@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/utils/log.js:27:17
                                        _addSessionItems/<@/home/lacko/.local/share/gnome-shell/extensions/[email protected]/indicator.js:311:34

and then shortly a gnome segfault takes my entire wayland session.

I'd like to paste in the entire log, but these errors repeat so many times, I can't reduce my terminal size so all of them fit them all.

Too many logs in journalctl: Can't update stage views actor

As long as enable this extension below errors occur every 1 or several seconds in journalctl, too many of them:

Can't update stage views actor <unnamed>[<StLabel>:0xOOOOOOO] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterText>:0xKKKKKKKK] is on because it needs an allocation.

Restore automatically the "maximizedness" state of the window

For ultra wide monitors it's common to have windows maximized to the left and other maximized to the right with different proportions. Even though the size and locations are restored correctly this state is not restored, so when I try to change the proportion of the windows this don't work as expected.

Issue installing on Ubuntu 20.04

When I try to install the extension I get the following error.
I
Error: Type name AnotherWindowSessionManagerPrefs is already registered

Stack trace:
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:448:27
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:94:22
@/home/ali/.local/share/gnome-shell/extensions/[email protected]/prefs.js:7:23
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Add an option to hide the extension in the top panel

Discussed in #85

Originally posted by Netherquark July 2, 2023
For my usecase, I'm only going to use the save session on logout, and restore session automatically settings. I don't need to have the extension in my top panel 24x7, because though its running 24x7, it'll do everything it needs to automatically.

Would it be possible to add this option similar to how the "Emoji Selector" extension has it?

For reference:

image

Save session periodically

Setup:

  • I don't use multiple sessions, what I want is to be able to restart my pc and have everything restored, that's it.

Issue:

  • I find myself clicking the "Save current session" multiple times during the day because it already happened a couple of times that I forgot to do that and the last used session was too old.

Proposal:

  • Have the option to set periodical savings of the current session. e.g. every 5 minutes the current session gets saved.
  • There are already propositions to save before the shutdown, but I suppose that won't be that easy also considering emergency shutdowns and this is a very simple fix for that. Normal shutdown or not, your sessions would be saved some time before the shutdown because it is saved periodically

Excessive logging despite debugging turned off

Hi,

thank you for your very helpful extension!

There is one small thing that I would be grateful for if it were improved... the logging behavior. I don't think it is necessary to log each change of window position or size. Much rather, the log journal is littered by messages from your extension, which makes things more complicated than helpful. Wouldn't it be a better idea to summarize all log levels under the debugging switch?

Thanks in advance!

Simon

add to .desktop file?

hi
im just toying with the idea of adding the gdbus command to a desktop file
something like:
...
Icon=firefox
Exec=gdbus call --session --dest org.gnome.Shell.Extensions.awsm --object-path /org/gnome/Shell/Extensions/awsm --method org.gnome.Shell.Extensions.awsm.Autostart.RestoreSession
...
how do i differentiate so that this .desktop file only launches firefox in its pre-defined position(if i have a saved session with only firefox) and another that will similarly only launch thunderbird (with a separate tbird session saved) ?
is it even doable...cos every desktop should have this imho
im on wayland btw and latest gnome etc

thanks for a great extension that makes gnome a liveable place, but if i got the stuff above working it would be even better

Missing GTop when installed from flatpak under EndlessOS

I installed the "Another Window Session Manager" as an extension in the Gnome Extension Manager under EndlessOS. Gnome Extension Manager was installed from flatpak on flathub. "Another Window Session Manager" is complaining that it is missing GTop/Typelibs:
Requiring GTop, version none: Typelib file for namespace 'GTop' (any version) not found

See also my post on the EndlessOS community platform.

Any ideas, how to install the missing pieces?

Error when trying to change the settings

Hi ๐Ÿ‘‹,

I am getting the following error when I try to change the settings for this extension

TypeError: method Gtk.CssProvider.load_from_data: At least 2 arguments required, but only 1 passed

Stack trace:
  updateStyle@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsWidgets.js:53:21
  _append_accel@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:544:22
  _init@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:414:14
  _init@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:872:15
  Row@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:311:4
  RuleRow@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:381:4
  RuleRowByKeyword@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:870:4
  _sync@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:275:40
  _initKeywordRules@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:190:18
  init@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefsCloseWindow.js:54:18
  _init@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefs.js:29:64
  Prefs@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefs.js:18:5
  buildPrefsWidget@/home/haseeb/.local/share/gnome-shell/extensions/[email protected]/prefs.js:298:22
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Link to gnome config (if useful): https://gitlab.com/hmajid2301/dotfiles/-/blob/main/gnome/settings.ini

Any help would be greatly appreciated thanks!

Forward slash in Session Name

If user saves a session-name that includes a forward-slash, the session-name does not appear in the panel-menu's session list.

When checking the session directory at ~/.config/another-window-session-manager/sessions I observed that using the forward-slash created a folder.

I dont have a suggested fix / workaround. A solution might be any of the following:

  • replacing forward-slash with dash
  • adding double-quote to the session name when a forward-slash exists
  • a message that inhibits user from saving a session with a forward-slash

installation howto

Can you please add a description how to integrate this extension with ubuntu gnome 45?
I have downloaded and unzipped the code but do not see how to make it available in the top bar?

Restore session after startup

Would be very handy, if this extension could save all windows before a system shutdown and restore them after startup, with the same window size and position (including workspaces).

Only a few app icons display on the taskbar of Dash to Panel after many apps are restored

Apps are restored nearly simultaneously on startup. On my machine, this process could freeze the entire gnome shell desktop for a while (5 seconds or more, depending on how many apps need to restore). And after all apps are restored, it's possible that only a few app icons display on the taskbar of Dash to Panel.

I think it could be a problem of Dash to Panel, because it does not handle the above case. But the frozen gnome shell desktop could be another reason to cause this issue, if so, it should be a problem of AWSM itself.

I'm not sure what causes this issue, just record it here.

Random crashes

The extension works but randomly crashes during a session,whether it is used or not.

The following error message is shown in Extensions Manager:

Version 25
this._runningSaveCancelableMap is undefined

My system:

Gnome v 42.4
Endeavour OS

Problem in multi-monitor mode with two horizontal rows of screens

Hello!
There is a problem with moving windows to the top row of monitors (monitor 1 in the screenshot)

As far as I understand, this is due to the fact that the origin point for windows "x_offset": 0, "y_offset": 0, is the upper left corner of monitor 2.

I can move windows horizontally using "x_offset" in the config file.
But I can't raise the window vertically because "y_offset": 0 this is the highest point of the monitors 2 and 3.

Perhaps using negative "y_offset" values could help, but it didn't work for me.

Screenshot from 2022-11-15 18-35-51

Display awareness

Hi
Thanks for your awesome work :)
I really want to use this extension but i got really confused in the first place because all my applications got opened on my left screen (FYI my right is my primary) and they stacked, so it looked like half my apps were missing.

Maybe you aren't aware of this because you are only using one screen and did not see an issue for this. So here it is.

[Feature] Simpler UI window

I've noticed that I struggle to find what I want every time when I open the little window:

image

The 3 operation buttons are awfully similar and confusing (save|restore|move), so I have to stop and think which one I actually want to press.

Often times I'm just restoring windows from a saved session, and second to that I sometimes move windows to their respective workspaces, and I'm sure other users do too.

Also, why is there a save date next to each session? I don't think that's relevant information and it's just confusing. Eg. I know it's a "work" session, I just want to restore the windows, no other info needed. Though I did notice there is no visual confirmation when saving a session other than the timestamp updating.
A solution then would be to show the timestamps on debug mode or just don't show them at all - If someone needs to check the session save time, that's basically for debugging purposes and should be saved in the .desktop file for further investigation.

Next, the search bar? How many sessions do users usually have, 50? Unlikely, I think that's also just a waste of space.

Same for the recently closed session, but that might just be me not using it at all.

To recap, this UX feature request would be:

  • make operation icons more distinct and bigger
  • remove session save timestamps (or show only on debug mode)
  • remove search bar
  • implement a setting toggle to show/hide "Recently Closed Session"

Firefox's windows restore crashes GNOME after its recent update in Fedora

One of my recent gnome updates* somehow impacted AWSM in a way that it's not able to restore Firefox's windows at all, resulting in gnome crash, preceded with gnome-shell high cpu usage during which gnome is completely unresponsive to the user, finnaly resulting in gnome auto crash / restore.
The problem remains even if Firefox has been opened before using windows restore function from AWSM.
The problem remains regardless of whether Firefox is set to restore its own session or not.

*) No more than the last two updates from gnome-shell-42.6-1.fc36

My AWSM settigns:

  • No "close by rules" installed, the option is set off
  • Everything swithed off in the "Restore session": no startup auto restore, no tiling restore, no raising windows together, no stashing.

My system:

  • AWSM version 30
  • Fedora 36
  • GNOME 42.4, gnome-shell-42.6-1.fc36
  • Firefox 107.0, 4.fc36 -- installed as RPM.

Logs:

Feature: option to select what window data to save/restore (global)

Hi,

Would be quite nice to be able to chose what settings to restore.

This would be useful to support different user workflows, for example, I personally would prefer a window to open on the currently active desktop and in the foreground regardless of which desktop it was last closed on.

Thanks!


P.S. IMHO it would be enough to implement this as a general setting primarily, a per-app set of settings might be useful later for some users but not as a first priority.

Delete session is not working

  1. Click the shell extension icon in the top bar
  2. Save a session if a custom session doesn't exist
  3. Click delete button for custom session
    Expected result: session should be deleted from filesystem and removed from the session menu
    Actual result: nothing

Pop!_OS 22.04, GNOME 42, X11

[Feature] Gnome-shell Search Provider

would be cool if the search for saved session could be integrated into the gnome shell so i could restore a session by hitting super key + typing the name like launching an application

Can't restore Thunderbird to its position

From E.G.O:

the latest version (36) wont restore thunderbird to its position no matter what i do, i just cant work it out. every other app is working. i reverted to version 34, which i had on a backup usb stick, no problems with that version.

Yes. I have tested on Fedora 37 with Gome 43.3. 35 and 36 both have this issue. 34 can restore the position.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.