Bug 89579 - ca_gtk_play_for_widget() prints a Gdk warning under Wayland
Summary: ca_gtk_play_for_widget() prints a Gdk warning under Wayland
Status: NEW
Alias: None
Product: libcanberra
Classification: Unclassified
Component: Unspecified (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-14 14:27 UTC by Arnaud B.
Modified: 2019-03-15 09:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Arnaud B. 2015-03-14 14:27:03 UTC
When called in a Wayland session, ca_gtk_play_for_widget() [`gnome-nibbles`, `gnome-taquin`, `iagno`…] causes Gdk to print a warning: “Gdk-WARNING **: gdkwindow-x11.c:5540 drawable is not a native X11 window”.
Comment 1 Michael Gratton 2019-03-15 08:29:05 UTC
Backtrace fwiw:

(geary:11836): Gdk-WARNING **: 19:21:37.277: ../../../../../gdk/x11/gdkwindow-x11.c:5611 drawable is not a native X11 window

Thread 1 "geary" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7d40955 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff7d40955 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff7d432dc in g_log_writer_default () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7d415b7 in g_log_structured_array () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7d41fde in g_log_structured_standard () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7c6f5bf in gdk_x11_window_get_xid () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#5  0x00007fff74fc2a95 in ca_gtk_proplist_set_for_widget ()
    at /usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0
#6  0x00007fff74fc3211 in ca_gtk_proplist_set_for_event ()
    at /usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0
#7  0x00007fff74fc37ca in ca_gtk_play_for_event () at /usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0
#8  0x00007fff74fe822f in  () at /usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
#9  0x00007ffff7c1dc08 in  () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#10 0x00007ffff7d3a958 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff7d3ad48 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff7d3addc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff78e68bd in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x0000555555593c6e in _vala_main (args=0x7fffffffddb8, args_length1=2)
    at ../src/client/application/main.vala:33
#15 0x0000555555593cb7 in main (argc=2, argv=0x7fffffffddb8) at ../src/client/application/main.vala:7
Comment 2 Michael Gratton 2019-03-15 08:30:01 UTC
(Although that's for ca_gtk_play_for_event, not ca_gtk_play_for_widget)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.