[Wayland-bugs] [Bug 697947] New: A lot of GTK+ apps fail to launch with error "desktop_shell::get_shell_surface already requested"

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 13 04:47:14 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=697947
  gtk+ | wayland | unspecified

           Summary: A lot of GTK+ apps fail to launch with error
                    "desktop_shell::get_shell_surface already requested"
    Classification: Platform
           Product: gtk+
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: wayland
        AssignedTo: gtk-bugs at gtk.org
        ReportedBy: pu.stshine at gmail.com
         QAContact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---


With the latest git tree of GTK+,a lot of apps that is complicated enough ,for
example, transmission-gtk and evince , fail to launch with error messages like
this:

 Gdk-ERROR **: wl_surface at 27: error 0: desktop_shell::get_shell_surface already
requested

After searching for a while I believe this is caused by the code in commit
https://git.gnome.org/browse/gtk+/commit/gdk/wayland/gdkwindow-wayland.c?id=8d884bb4fb31872766bfa6f33f667e0a4fbf0e26
in gdk_wayland_window_show():
when gdk_wayland_window_show is called more than once for one window,it will
cause wl_shell_get_shell_surface being called on one surface more than once
,which is a fatal error.
 I made a little work around with it and the app launches successfully, but I
do not know if it is the right fix.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list