Bug 91947 - Protocol documentation should indicate when wl_data_source::cancelled events will be sent
Summary: Protocol documentation should indicate when wl_data_source::cancelled events ...
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: 1.5.0
Hardware: All All
: medium minor
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83429 91948
  Show dependency treegraph
 
Reported: 2015-09-09 20:36 UTC by Michael Catanzaro
Modified: 2016-03-17 02:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Catanzaro 2015-09-09 20:36:28 UTC
The Wayland protocol documentation does not define when wl_data_source::cancelled events will be sent. They are only sent for the selection data source, and never for drag sources, but the documentation does not provide any indication of this. Failure to heed this leads to issues like bug #91943.
Comment 1 Michael Catanzaro 2016-03-17 02:02:44 UTC
"- The data source has been replaced by another data source. - The drag-and-drop operation was performed, but the drop destination did not accept any of the mimetypes offered through wl_data_source.target. - The drag-and-drop operation was performed, but the drop destination did not select any of the actions present in the mask offered through wl_data_source.action. - The drag-and-drop operation was performed but didn't happen over a surface. - The compositor cancelled the drag-and-drop operation (e.g. compositor dependent timeouts to avoid stale drag-and-drop transfers)."


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.