gcc XDnDSource.c -o XDnDSource -lX11 && ./XDnDSource

** Attachment added: "XDnDSource.c"
   
https://bugs.launchpad.net/mutter/+bug/2097415/+attachment/5855074/+files/XDnDSource.c

** Description changed:

  Original report[1]:
  ----------
  Description of problem:
  
  Unable to perform Drag and Drop using XDND protocol from Xlib
  application to application running on Wayland display server natively.
  
  How reproducible:
  always
  
  Steps to Reproduce:
  1. compile attached file with "gcc XDnDSource.c -o XDnDSource -lX11 && 
./XDnDSource".
     Attached file is a simple drag source client, written using XDND protocol.
     It has single mime-type to transfer: `text-plain`.
  2. try to perform drag and drop starting from black area.
  3. drop to gedit, firefox, etc.
  4. <fail>
  
  Actual results:
  
  It fails to find any window having XdndAware property(except for apps running 
on XWayland),
  so it unable to perform drop action.
  
  Expected results:
  Performed drop.
  
  Additional information:
  
  The same example works for Ubuntu 21.04, Oracle Linux 8u5 on Wayland, but not 
on Fedora 35.
  ----------
  
  The issue was fixed in Gnome 47 (plucky, oracular), but still present in
- Gnome 46 (noble).
+ Gnome 46 (noble). Attached reproducer from the original report.
  
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=2027569#c0)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2097415

Title:
  Ubuntu 24.04, mutter: drag and drop does not work between x11 and
  wayland applications

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to