GNOME Bugzilla – Bug 766750
No wayland support at all
Last modified: 2016-08-31 16:07:39 UTC
Every time I start a sushi process and display a window for the first time, I'm getting this traceback: (sushi-start:7101): Gjs-WARNING **: JS ERROR: Exception in method call: ShowFile: TypeError: this._gtkWindow.get_window(...).move_to_current_desktop is not a function MainWindow<.setParent@/usr/share/sushi/js/ui/mainWindow.js:547 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 Application<.ShowFile@/usr/share/sushi/js/ui/application.js:102 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 _handleMethodCall@resource:///org/gnome/gjs/modules/overrides/Gio.js:261 _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:331 run@/usr/share/sushi/js/ui/main.js:51 @main.c:2 Each time sushi shows a window for previewing a file I'm getting this traceback: (sushi-start:7101): Gjs-WARNING **: JS ERROR: TypeError: this._renderer is null MainWindow<._clearAndQuit@/usr/share/sushi/js/ui/mainWindow.js:531 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 MainWindow<._onKeyPressEvent@/usr/share/sushi/js/ui/mainWindow.js:167 wrapper@resource:///org/gnome/gjs/modules/lang.js:178 run@/usr/share/sushi/js/ui/main.js:51 @main.c:2 The window is always empty. This issue may or may not be related to bug #712618. I'm running sushi-3.20.0-1.fc24.x86_64 on a gnome+wayland session with gtk3-3.20.4-1.fc24.x86_64.
Workaround: patch /usr/bin/sushi (or wherever it's installed) to add "export GDK_BACKEND=x11", forcing it to use X11 even though the rest of your desktop is Wayland.
Created attachment 334173 [details] [review] Make sushi work under Wayland move_to_current_desktop is x11 backend api. We can't call it unconditionally.
Review of attachment 334173 [details] [review]: Sure, looks good.
Attachment 334173 [details] pushed as 0e3a847 - Make sushi work under Wayland