** Tags added: udeng-6439

-- 
You received this bug notification because you are a member of Desktop
Packages, 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

Status in Mutter:
  Fix Released
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Noble:
  Triaged
Status in mutter source package in Oracular:
  Fix Released
Status in mutter source package in Plucky:
  Fix Released
Status in mutter package in Fedora:
  Won't Fix

Bug description:
  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 zvegint...@zvegintsev.alex
  · 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

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to