Launchpad has imported 7 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=2027569.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2021-11-30T05:26:23+00:00 ZVEGINTSEV.ALEX wrote:

Created attachment 1844113
gcc XDnDSource.c -o XDnDSource -lX11 && ./XDnDSource

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 info:

The same example works for Ubuntu 21.04, Oracle Linux 8u5 on Wayland,
but not on Fedora 35.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/0

------------------------------------------------------------------------
On 2021-11-30T06:21:12+00:00 ofourdan wrote:

Hi Alexander,

Thanks for the reproducer!

Xwayland is just an Xserver, it doesn't play any active role in DnD nor
copy/paste.

The Wayland compositor itself plays the role of proxy between X11 and
Wayland clients, therefore DnD or copy/paste issues usually find their
root in either the client or the mutter, in the case of GNOME.

Moving to mutter.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/1

------------------------------------------------------------------------
On 2021-11-30T07:58:54+00:00 ofourdan wrote:

FWIW, I see a fairly consistent behaviour regardless on Wayland or X11
clients, the pointer turns to a question mark when hovering either
Wayland or X11 windows (tried in Nautilus, gnome-terminal, for Wayland
and also in X11 clients such as Google Chrome or geany running with
GDK_BACKEND=x11).

In all cases the logs show:

    process_motion_drag:339 0x1600007: Sending XdndPosition: (2543,397) 
XdndActionCopy
    main:413 1600007: XDnDStatus will accept: 0 action: None
    main:413 1600007: XDnDStatus will accept: 0 action: None
    find_aware_window:83 0x2B4: checking window for XdndAware
    find_aware_window:83 0x600583: checking window for XdndAware
    find_aware_window:83 0x1600007: checking window for XdndAware
    find_aware_window:106 0x1600007: XA_XdndAware found

(that's a DnD onto gnome-terminal running on Wayland native, FWIW).

And the drop fails in both cases (Wayland native or X11 client).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/2

------------------------------------------------------------------------
On 2021-11-30T08:09:46+00:00 ofourdan wrote:

I can confirm the same works in mutter 40.6 (on el9) but not in mutter
41.1 (on F35).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/3

------------------------------------------------------------------------
On 2021-11-30T17:32:42+00:00 ofourdan wrote:

Ran a bisection in git and filed the issue upstream

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/4

------------------------------------------------------------------------
On 2022-11-29T17:25:10+00:00 bcotton wrote:

This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 
2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with 
a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/5

------------------------------------------------------------------------
On 2022-12-13T16:00:54+00:00 bcotton wrote:

Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora 
Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2097415/comments/6


** Changed in: mutter (Fedora)
       Status: Unknown => Won't Fix

** Changed in: mutter (Fedora)
   Importance: Unknown => High

-- 
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