Bug 1319896

Summary: [abrt] ibus-setup: main.py:271:__gdk_window_set_cb:TypeError: argument self: Expected GdkX11.X11Window, but got __main__.gtk.gdk.WaylandWindow
Product: [Fedora] Fedora Reporter: madstitz
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e7f6ba96f15a56758f696f313a2f6bf2f8693bcb
Whiteboard: abrt_hash:0e2bea1b403c52a35611c6657ec669f3f0dce41b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-22 02:30:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description madstitz 2016-03-21 18:33:20 UTC
Description of problem:
opening ibus-setup in a wayland session (Gnome 3.18)

Version-Release number of selected component:
ibus-setup-1.5.11-1.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        python3 /usr/share/ibus/setup/main.py
executable:     /usr/share/ibus/setup/main.py
kernel:         4.4.4-301.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
main.py:271:__gdk_window_set_cb:TypeError: argument self: Expected GdkX11.X11Window, but got __main__.gtk.gdk.WaylandWindow

Traceback (most recent call last):
  File "/usr/share/ibus/setup/main.py", line 271, in __gdk_window_set_cb
    str = '%u' % GdkX11.X11Window.get_xid(object.get_window())
TypeError: argument self: Expected GdkX11.X11Window, but got __main__.gtk.gdk.WaylandWindow

Local variables in innermost frame:
object: <Window object at 0x7f890c035900 (GtkWindow at 0x55e15e454230)>
self: <__main__.Setup object at 0x7f89223c5710>
pspec: <GParamObject 'window'>

Comment 1 madstitz 2016-03-21 18:33:24 UTC
Created attachment 1138736 [details]
File: backtrace

Comment 2 madstitz 2016-03-21 18:33:26 UTC
Created attachment 1138737 [details]
File: environ

Comment 3 fujiwara 2016-03-22 02:30:57 UTC
ibus-setup is not used on GNOME Wayland.
gnome-control-center is used instead.