Syncing task from Mir.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1498767

Title:
  Mir doesn't support drag and drop (DND) windows

Status in Mir:
  New
Status in mir package in Ubuntu:
  New

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_WINDOW_TYPE_DND). Mir doesn't understand it
  yet, so at best you get a new window appear for the thing getting
  dragged, but it doesn't move.

  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_grab_pos = cursor pos in the original app window when the DND 
window was created
     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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1498767/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to