Bug 1254181

Summary: Error invoking sushi via gdbus
Product: Red Hat Enterprise Linux 7 Reporter: Vadim Rutkovsky <vrutkovs>
Component: sushiAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: csoriano, mclasen, msimon, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sushi-3.12.0-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 08:35:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vadim Rutkovsky 2015-08-17 11:32:13 UTC
Description of problem:
Sushi cannot be invoked via gdbus call

Version-Release number of selected component (if applicable):
sushi-3.12.0-2.el7.x86_64
nautilus-3.14.3-3.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open Nautilus and make sure its focused
2. export XID=`xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2`
3. gdbus call --session --dest org.gnome.NautilusPreviewer --object-path /org/gnome/NautilusPreviewer --method org.gnome.NautilusPreviewer.ShowFile "http://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png" "$XID" "false"

Actual results:
Error: GDBus.Error:org.gnome.gjs.JSError.TypeError: this._mainWindow is undefined
(According to introspection data, you need to pass 'sib')

Expected results:
Sushi window opens the requested URL

Additional info:

Comment 1 Matthias Clasen 2015-08-17 19:41:40 UTC
This seems to affect sushi functionality in general

Here are two additional upstream fixes that make things work for me again:

https://git.gnome.org/browse/sushi/commit/?id=d5e5f06788c8e2adf27856a97409dfdf142c303f

https://git.gnome.org/browse/sushi/commit/?id=63f137a0ef82fb3d4a5a69d9db24b0052c47502d

Comment 3 Martin Simon 2015-09-01 10:36:26 UTC
Verified with nautilus-3.14.3-3.el7.x86_64 and sushi-3.12.0-3.el7.x86_64. The actual result is a tux correctly displayed in sushi window without any error on terminal output.

Comment 4 errata-xmlrpc 2015-11-19 08:35:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2236.html