Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681712 - gnome 3.30.2 workspace switching shortcuts make messes
Summary: gnome 3.30.2 workspace switching shortcuts make messes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-25 05:42 UTC by Wen Jufa
Modified: 2019-03-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Jufa 2019-03-25 05:42:25 UTC
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.
Comment 1 Wen Jufa 2019-03-25 07:18:29 UTC
I analysed system log and solved it by upgrading gjs.
Comment 2 Mart Raudsepp gentoo-dev 2019-03-25 08:51:35 UTC
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?
Comment 3 Wen Jufa 2019-03-25 08:54:54 UTC
(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?
Comment 4 Mart Raudsepp gentoo-dev 2019-03-25 10:17:01 UTC
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?
Comment 5 Wen Jufa 2019-03-25 12:54:37 UTC
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
Comment 6 Larry the Git Cow gentoo-dev 2019-03-30 22:21:06 UTC
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(-)