This bug was fixed in the package mutter - 46.2-1ubuntu0.24.04.7
---------------
mutter (46.2-1ubuntu0.24.04.7) noble; urgency=medium
[ Alessandro Astone ]
* Backport patches to fix crash when closing apps with subsurfaces
(LP: #2093237)
* Backport patches to fix drag&drop from X11 to Wayland windows
(LP: #2097415)
* Backport patches to fix possibly out of sync selection (LP: #2085634)
* Backport patches to fix handling of pixel formats with no alpha, which
fixes rendering of dialogs in IntelliJ IDEA. (LP: #2099879)
-- Daniel van Vugt <[email protected]> Wed, 19 Mar 2025
16:59:59 +0800
** Changed in: mutter (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
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:
Fix Released
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:
[ Impact ]
Unable to perform Drag and Drop using from X11 applications running on
XWayland to native Wayland applications.
A set of applications that do not support Wayland and thus must use
X11 on a Wayland desktop is commonly comprised of legacy proprietary
apps, Java-based apps, and Electron-based apps. Those applications
would be unable to drag-and-drop to the rest of the desktop.
Here's the upstream bug report:
https://gitlab.gnome.org/GNOME/mutter/-/issues/3511
[ Test Plan ]
1. Log-in to a GNOME Wayland desktop session
2. Open Terminal
3. Run `GDK_BACKEND=x11 gnome-text-editor`
+ this forces the Text Editor app to run in X11 mode,
+ as if it were one of the legacy apps that do not support Wayland natively
4. Position Text Editor and Terminal side by side
5. Type something in the Text Editor window
6. Select the text
7. Drag and drop it into the Terminal window
8. Verify that the text was inserted in the terminal
[ Where problems could occur ]
mutter is the component of GNOME driving the screen and inputs, and
thus is a critical component of Ubuntu Desktop.
The patch only touches the XWayland drag&drop code, which was already
not working.
Regressions could manifest with the user being suddenly logged-out in
the case that GNOME Shell has crashed because of a bug introduced by
the new patch.
[ Other info ]
---
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.
-----
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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp