{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":437761829,"defaultBranch":"main-gnome-45+","name":"gnome-shell-extension-another-window-session-manager","ownerLogin":"nlpsuge","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-12-13T06:32:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2271720?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1716014780.0","currentOid":""},"activityList":{"items":[{"before":"f2b79370d38579b9689790d528987af2f126d399","after":"101b26f382d8d0809fd6f2894919600f5c13f7c1","ref":"refs/heads/main-gnome-45+","pushedAt":"2024-05-20T18:03:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Workaround: cache the error of 'TypeError: GTop.glibtop_proc_state is not a constructor', so that it won't prevent the system from logging out. Related to https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/issues/103","shortMessageHtmlLink":"Workaround: cache the error of 'TypeError: GTop.glibtop_proc_state is…"}},{"before":"d8a5990bde089cffab370d04021f4723e07a1792","after":null,"ref":"refs/heads/feature-support-gnome-46","pushedAt":"2024-05-18T01:22:18.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"}},{"before":"a6640e33149aa8c5f2625bed16dce873f6bddd40","after":"f2b79370d38579b9689790d528987af2f126d399","ref":"refs/heads/main-gnome-45+","pushedAt":"2024-05-18T01:18:21.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Merge pull request #107 from nlpsuge/feature-support-gnome-46\n\nSupport Gnome 46","shortMessageHtmlLink":"Merge pull request #107 from nlpsuge/feature-support-gnome-46"}},{"before":"4af059ba63a8fd4fd87292ee418d11b71bb5353d","after":"d8a5990bde089cffab370d04021f4723e07a1792","ref":"refs/heads/feature-support-gnome-46","pushedAt":"2024-05-18T01:15:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"fix the issue that the session list is empty on Gnome 45","shortMessageHtmlLink":"fix the issue that the session list is empty on Gnome 45"}},{"before":"4af059ba63a8fd4fd87292ee418d11b71bb5353d","after":null,"ref":"refs/heads/feature-support-gnome47","pushedAt":"2024-05-16T18:29:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"}},{"before":null,"after":"4af059ba63a8fd4fd87292ee418d11b71bb5353d","ref":"refs/heads/feature-support-gnome-46","pushedAt":"2024-05-16T18:29:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Replace remove_actor with remove_child and add_actor with add_child to fix erros in the logs","shortMessageHtmlLink":"Replace remove_actor with remove_child and add_actor with add_child t…"}},{"before":"b7d88ec50ea0b3e0a7502b7ce4bdfed104f10eaa","after":"4af059ba63a8fd4fd87292ee418d11b71bb5353d","ref":"refs/heads/feature-support-gnome47","pushedAt":"2024-05-16T18:19:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Replace remove_actor with remove_child and add_actor with add_child to fix erros in the logs","shortMessageHtmlLink":"Replace remove_actor with remove_child and add_actor with add_child t…"}},{"before":"538e9e25a708e7276601e760e2bc7034239e4fb9","after":"b7d88ec50ea0b3e0a7502b7ce4bdfed104f10eaa","ref":"refs/heads/feature-support-gnome47","pushedAt":"2024-05-13T16:08:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Bump version to 47","shortMessageHtmlLink":"Bump version to 47"}},{"before":"a6640e33149aa8c5f2625bed16dce873f6bddd40","after":"538e9e25a708e7276601e760e2bc7034239e4fb9","ref":"refs/heads/feature-support-gnome47","pushedAt":"2024-05-13T16:03:06.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Merge pull request #104 from mendres82/gnome-46-fix\n\nFixed scrollView error on Gnome 46","shortMessageHtmlLink":"Merge pull request #104 from mendres82/gnome-46-fix"}},{"before":null,"after":"a6640e33149aa8c5f2625bed16dce873f6bddd40","ref":"refs/heads/feature-support-gnome47","pushedAt":"2024-05-13T16:00:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Bump version to 46","shortMessageHtmlLink":"Bump version to 46"}},{"before":"51213fe89113e75b379e391bda1f2fe826cdcdf8","after":"a6640e33149aa8c5f2625bed16dce873f6bddd40","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-19T10:19:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Bump version to 46","shortMessageHtmlLink":"Bump version to 46"}},{"before":"1f4eb74f620bc7fb3c46ce6c5c20ab1b1d29316d","after":"51213fe89113e75b379e391bda1f2fe826cdcdf8","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-19T10:17:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Destroy objects while the prefs window is closed","shortMessageHtmlLink":"Destroy objects while the prefs window is closed"}},{"before":"5d704a49b6e9017f1a40a7d5d1a27b14257d14ae","after":"1f4eb74f620bc7fb3c46ce6c5c20ab1b1d29316d","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-19T07:23:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Destory the PrefsUtilsClass instance while diabling the extension","shortMessageHtmlLink":"Destory the PrefsUtilsClass instance while diabling the extension"}},{"before":"c5e598e757f634c1f963e583f292b8160f1b5b80","after":"5d704a49b6e9017f1a40a7d5d1a27b14257d14ae","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-19T03:34:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Bump version to 44","shortMessageHtmlLink":"Bump version to 44"}},{"before":"8dd49f8bf4d2a9d7c8c54e422605b6ab1ec65d86","after":"c5e598e757f634c1f963e583f292b8160f1b5b80","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-19T03:12:40.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Remove unncesessary parentheses","shortMessageHtmlLink":"Remove unncesessary parentheses"}},{"before":"507f87f5a4ce1c8511a94e8507eebb9ea5265eab","after":"8dd49f8bf4d2a9d7c8c54e422605b6ab1ec65d86","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-18T17:05:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Clean up","shortMessageHtmlLink":"Clean up"}},{"before":"54b3c7b5b1da41ab4d46bb5bfd8b001415f4f131","after":"507f87f5a4ce1c8511a94e8507eebb9ea5265eab","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-18T16:59:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Don't create instances of objects in the global scope. Refer to: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-initialization-for-static-resources","shortMessageHtmlLink":"Don't create instances of objects in the global scope. Refer to: http…"}},{"before":null,"after":"54b3c7b5b1da41ab4d46bb5bfd8b001415f4f131","ref":"refs/heads/fix-global-object","pushedAt":"2023-11-18T16:32:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"String format","shortMessageHtmlLink":"String format"}},{"before":"b7e5c5a076b6fe9ac0b28ddc351d60cfb30b3595","after":"54b3c7b5b1da41ab4d46bb5bfd8b001415f4f131","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-18T16:23:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"String format","shortMessageHtmlLink":"String format"}},{"before":"f5316a6abefd27198f781d9b3dce4eb58c86f8be","after":"b7e5c5a076b6fe9ac0b28ddc351d60cfb30b3595","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-18T15:32:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Remove gnomeVersion.js, which is no longer needed","shortMessageHtmlLink":"Remove gnomeVersion.js, which is no longer needed"}},{"before":"938fcf4aab2f6e7b5615bbf15dfe31342da157f6","after":"f5316a6abefd27198f781d9b3dce4eb58c86f8be","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-07T16:43:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Fix review issues: 1. Get rid of all Extension.lookupByUUID 2...","shortMessageHtmlLink":"Fix review issues: 1. Get rid of all Extension.lookupByUUID 2..."}},{"before":"938fcf4aab2f6e7b5615bbf15dfe31342da157f6","after":null,"ref":"refs/heads/main","pushedAt":"2023-11-04T04:37:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"}},{"before":null,"after":"938fcf4aab2f6e7b5615bbf15dfe31342da157f6","ref":"refs/heads/main-gnome-45+","pushedAt":"2023-11-04T04:37:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Merge pull request #93 from nlpsuge/main-gnome-45\n\nPort to Gnome 45\r\n\r\n\r\nRelated to https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/issues/89\r\n\r\nPlease note that due to [gnome-shell 45 does not export `EndSessionDialog`](https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/a42f7c23842ba186655f201db7edaf4b24590604/js/ui/endSessionDialog.js#L233), the flowing features do not work:\r\n* [Restore previous apps and windows at startup](https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/tree/main-gnome-45#restore-previous-apps-and-windows-at-startup) .\r\n**Workaround**: I suggest to backup `currentSession`
Using `cp -r ~/.config/another-window-session-manager/currentSession ~/.config/another-window-session-manager/currentSession-bak`
before Log out/Reboot/Shutdown the computer, otherwise session files in `currentSession` will be removed automatically. Next time after logging in, rename the backup to `currentSession`
Using `mv ~/.config/another-window-session-manager/currentSession-bak/ ~/.config/another-window-session-manager/currentSession`
. And then run the following command to restore the previous session: \r\n`gdbus call --session --dest org.gnome.Shell.Extensions.awsm --object-path /org/gnome/Shell/Extensions/awsm --method org.gnome.Shell.Extensions.awsm.Autostart.RestorePreviousSession \"{'removeAfterRestore': }\"`\r\n* [Auto close session](https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager#auto-close-session)\r\nThis feature is not working, so the original end session dialog of Gnome will be popped up.\r\n\r\nAfter [this MR](https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2997) is merged, the above feature will be supported automatically based on the MR.","shortMessageHtmlLink":"Merge pull request #93 from nlpsuge/main-gnome-45"}},{"before":"7c6beca847c3fd2fea645ce483b8014124cee07f","after":null,"ref":"refs/heads/main-gnome-45","pushedAt":"2023-11-04T04:35:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"}},{"before":"46d80d6b60f42b7e9d060167cc11ac4f74dd305e","after":"938fcf4aab2f6e7b5615bbf15dfe31342da157f6","ref":"refs/heads/main","pushedAt":"2023-11-04T04:35:15.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Merge pull request #93 from nlpsuge/main-gnome-45\n\nPort to Gnome 45\r\n\r\n\r\nRelated to https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/issues/89\r\n\r\nPlease note that due to [gnome-shell 45 does not export `EndSessionDialog`](https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/a42f7c23842ba186655f201db7edaf4b24590604/js/ui/endSessionDialog.js#L233), the flowing features do not work:\r\n* [Restore previous apps and windows at startup](https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/tree/main-gnome-45#restore-previous-apps-and-windows-at-startup) .\r\n**Workaround**: I suggest to backup `currentSession`
Using `cp -r ~/.config/another-window-session-manager/currentSession ~/.config/another-window-session-manager/currentSession-bak`
before Log out/Reboot/Shutdown the computer, otherwise session files in `currentSession` will be removed automatically. Next time after logging in, rename the backup to `currentSession`
Using `mv ~/.config/another-window-session-manager/currentSession-bak/ ~/.config/another-window-session-manager/currentSession`
. And then run the following command to restore the previous session: \r\n`gdbus call --session --dest org.gnome.Shell.Extensions.awsm --object-path /org/gnome/Shell/Extensions/awsm --method org.gnome.Shell.Extensions.awsm.Autostart.RestorePreviousSession \"{'removeAfterRestore': }\"`\r\n* [Auto close session](https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager#auto-close-session)\r\nThis feature is not working, so the original end session dialog of Gnome will be popped up.\r\n\r\nAfter [this MR](https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2997) is merged, the above feature will be supported automatically based on the MR.","shortMessageHtmlLink":"Merge pull request #93 from nlpsuge/main-gnome-45"}},{"before":"a933dcf696d3686edf3ce3a707c2a6ee6d1a5e1b","after":"7c6beca847c3fd2fea645ce483b8014124cee07f","ref":"refs/heads/main-gnome-45","pushedAt":"2023-11-04T04:10:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Refactor fileUtils.js to maintain consistency with versions gnome 40 to 44","shortMessageHtmlLink":"Refactor fileUtils.js to maintain consistency with versions gnome 40 …"}},{"before":"391c6d1dcdd5b9bc51ece4a7647a13a18b3324fe","after":"a933dcf696d3686edf3ce3a707c2a6ee6d1a5e1b","ref":"refs/heads/main-gnome-45","pushedAt":"2023-11-04T02:57:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Clean up","shortMessageHtmlLink":"Clean up"}},{"before":"c259db42606d77dc9d988a1083cd97c009f2aa8d","after":"391c6d1dcdd5b9bc51ece4a7647a13a18b3324fe","ref":"refs/heads/main-gnome-45","pushedAt":"2023-11-04T02:50:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Clean up","shortMessageHtmlLink":"Clean up"}},{"before":"25d1207b6befc50a7da102f433c8c200651b56e1","after":"c259db42606d77dc9d988a1083cd97c009f2aa8d","ref":"refs/heads/main-gnome-45","pushedAt":"2023-11-03T18:01:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"},"commit":{"message":"Clean up","shortMessageHtmlLink":"Clean up"}},{"before":"46d80d6b60f42b7e9d060167cc11ac4f74dd305e","after":null,"ref":"refs/heads/feature-restore-snap-apps","pushedAt":"2023-11-03T05:52:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"nlpsuge","name":"m^n","path":"/nlpsuge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2271720?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETw-fVQA","startCursor":null,"endCursor":null}},"title":"Activity · nlpsuge/gnome-shell-extension-another-window-session-manager"}