When I use default Ctrl-Alt-Down/Ctrl-Alt-Up to switch between workspaces, windows on current workspace will show up in next workspace. Obsolete windows are dragable but cannot be focused. This won't show up if I use mouse to drag apps between workspaces.
I analysed system log and solved it by upgrading gjs.
Can you please show the relevant parts of the logs, so I can analyze and raise minimum gjs dependency appropriately in Gentoo and potentially upstream?
(In reply to Mart Raudsepp from comment #2) > Can you please show the relevant parts of the logs, so I can analyze and > raise minimum gjs dependency appropriately in Gentoo and potentially > upstream? It was some js error complaining about Object.values not defined, that's some es6 syntax right?
Can you show the specific log parts please? Or it became unavailable already? ES6 classes became available in gjs-1.50, I'm wondering if there is proof of needing gjs-1.54 in there, so I know to raise it to match the GNOME version. And what was the older gjs version you had installed when you hit the issues?
gjs 1.48.7 was installed before the upgrading. And the log goes like Mar 25 14:23:41 galactica gnome-shell[681]: JS ERROR: TypeError: Object.values is not a function _prepareWorkspaceSwitch@resource:///org/gnome/shell/ui/windowManager.js:1847:25 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22 _switchWorkspace@resource:///org/gnome/shell/ui/windowManager.js:1948:13 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22 actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2130:13 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22 _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2104:13 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22 Mar 25 14:23:41 galactica gnome-shell[681]: JS ERROR: TypeError: Object.values is not a function _syncStacking@resource:///org/gnome/shell/ui/windowManager.js:1781:33 wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5d3069a3bd894d84b88bd649f3e8fa3aa9dba5 commit 6c5d3069a3bd894d84b88bd649f3e8fa3aa9dba5 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-03-30 22:05:40 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-03-30 22:05:57 +0000 gnome-base/gnome-shell: raise gjs requirement 3.30 needs at least gjs-1.49.4 for Object.values() methods, probably more. Just bump the req to 1.54.0, released in the same cycle as gnome-shell-3.30, as there may be other runtime requirements. gnome-shell-3.32 has the req bumped to 1.54.0 already, so nothing to upstream. Closes: https://bugs.gentoo.org/681712 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-base/gnome-shell/gnome-shell-3.30.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)