<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: Dialogs without transient parent crash the inspector"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=765474">bug 765474</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ofourdan@redhat.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: Dialogs without transient parent crash the inspector"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=765474#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: Dialogs without transient parent crash the inspector"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=765474">bug 765474</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=326722" name="attach_326722" title="C code">attachment 326722</a> <a href="attachment.cgi?id=326722&action=edit" title="C code">[details]</a></span>
C code

I am not very familiar with vala (I think I even disable vala at build time
because of some issues in the past) so I tried with this C code instead (which
I reckon should be similar), when started with:

  GTK_DEBUG=interactive ./dialog

I get:

  (dialog:8492): Gdk-WARNING **: Error 22 (Invalid argument) dispatching to
Wayland display.

Is that the same problem you have?

If so, it's a protocol error:

[1238417.613] <a href="mailto:xdg_surface@26.configure">xdg_surface@26.configure</a>(957, 547, array, 121)
[1238417.634]  -> <a href="mailto:xdg_surface@26.set_window_geometry">xdg_surface@26.set_window_geometry</a>(26, 23, 957, 547)
[1238417.650]  -> <a href="mailto:xdg_surface@26.ack_configure">xdg_surface@26.ack_configure</a>(121)
[1238417.657]  -> <a href="mailto:xdg_surface@28.set_parent">xdg_surface@28.set_parent</a>(xdg_surface@26)
[1238417.666] <a href="mailto:wl_keyboard@22.modifiers">wl_keyboard@22.modifiers</a>(123, 64, 0, 0, 0)
[1238417.690] <a href="mailto:wl_keyboard@22.enter">wl_keyboard@22.enter</a>(123, wl_surface@20, array)
[1238417.706] <a href="mailto:wl_data_device@18.selection">wl_data_device@18.selection</a>(nil)
[1238417.717] <a href="mailto:gtk_primary_selection_device@17.selection">gtk_primary_selection_device@17.selection</a>(nil)
[1238417.967] <a href="mailto:wl_display@1.error">wl_display@1.error</a>(wl_display@1, 1, "invalid arguments for
<a href="mailto:xdg_surface@28.set_parent">xdg_surface@28.set_parent</a>")

(dialog:8595): Gdk-WARNING **: Error 22 (Invalid argument) dispatching to
Wayland display.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>