Mir doesn't support drag and drop (DND) windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Mir doesn't support drag and drop (DND) windows.
In playing with X apps under Xmir, one of the more broken features is drag and drop (_NET_WM_
Test cases:
In Xmir run nautilus and drag an icon from it.
In Xmir run chromium-browser and drag a browser tab from it.
Although X historically implements these things with absolute placement (which Mir doesn't support), we could implement DND movement in Mir shells using some simple heuristic:
relative_
Now Mir always places the DND window at the cursor pos minus relative_grab_pos.
Thus the surface being dragged always retains the same position under the cursor as when it was grabbed.
tags: | added: xmir |
Oh. The above heuristic only works for Chromium tabs. Not dragging icons from a window like nautilus.