<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Make window creation hooks in tab DnD work on wayland"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=763387">763387</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Make window creation hooks in tab DnD work on wayland
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>gtk+
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: Wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>carlosg@gnome.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For wayland, I propose we go back to using the application/x-rootwindow-drop
mimetype so tabs are detached if drops happen on a destination accepting this
target.

For this scheme to work, there has to be destinations accepting this mimetype
first. In <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - handle dnd drops on the root window"
   href="show_bug.cgi?id=762104">bug #762104</a> I've attached patches for mutter to do its part in the
rootwindow. Also, one of the patches I'm attaching here turn GtkWindows into
drop destinations accepting this mimetype. In practical terms, these two make
the whole desktop area accept application/x-rootwindow-drop, triggering the
window creation hook unless the drop happens anywhere accepting
GTK_NOTEBOOK_TAB.

NB: Obviously, the newly created window positioning is broken in wayland, I
haven't done anything yet about it.</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>