<html>
    <head>
      <base href="https://bugs.freedesktop.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 - Consider whether wl_data_offer::accept should really require a MIME type"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91950">91950</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Consider whether wl_data_offer::accept should really require a MIME type
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcatanzaro@gnome.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have a Wayland client that would like to send wl_data_offer::accept requests
when acting as the drag destination, to indicate if drag data would be accepted
for the current location of the pointer. However, my client is unable to
guarantee which MIME type it will eventually choose to receive data for. It
therefore picks the first MIME type it could ever possibly use, and passes that
MIME type to wl_data_offer::accept, even if it will eventually decide not to
use that MIME type. This enhances the user experience during a DnD session by
encouraging the drag source to display a cursor image that indicates the drag
will be accepted, but some clients might choose a non-ideal drag image based on
the potentially-misleading MIME type my client has accepted.

It would be nice if there was a way to indicate that some MIME type would be
accepted for the current pointer location, without committing to any particular
MIME type. Passing NULL for the mime_type parameter would be ideal for this,
except that is a reject message.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>