I have tried applying
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/382 to noble
version of mutter, but it still does not solve the issue. Probably we
need to backport additional patches.

** 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). Attached reproducer from the original report.
  
+ Why it is important:
+ 
+ ---
+ Alexander [email protected]
+ · 8 months ago
+ Author
+ OpenJDK has only just finished the work to support XWayland, and so the 
timing of this bug is very unfortunate.
+ 
+ It causes a CONFORMANCE test failure, which means that no JDK
+ distribution, from any vendor can claim to support Java in this
+ configuration (Gnome 46).
+ 
+ This includes at least Ubuntu 24.04, Fedora 40, Manjaro 24.
+ 
+ A fix for this needs to be in place and backported as a Gnome 46 patch
+ for those distros.
+ 
+ Related JDK issue https://bugs.openjdk.org/browse/JDK-8333310
+ 
+ Thanks in advance.
+ -----
+ [2]
+ 
+ 
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=2027569#c0)
+ [2] https://gitlab.gnome.org/GNOME/mutter/-/issues/3511

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to