Drag but no drop under Wayland
I’ve encountered a problem with drag and drop functionality in Qt5 under Wayland. When I compile and run the Qt5
draggableicons example program:
from Fedora 31 package qt5-qtbase-examples-5.12.5-1.fc31.x86_64 the dropEvent never fires.
When I run the Qt4 version (from package qt-examples-4.8.7-50.fc31.x86_64) of the same program it works just fine.
I followed the advice here:
Because this occurs on the
mutter compositor but not on
weston, I think this is a
mutter problem. I ran the application under both compositors like this:
Comparing the result I see a
firstname.lastname@example.org_drag() under both and a
email@example.com() under weston but not the corresponding
drop under mutter. I have also tried
mutter-3.35.1-2.fc32.x86_64 from the Rawhide repo, but get the same result.
I can also run this with either version (Qt4 or Qt5)
and everything works fine using X.