Hello,

I am trying to build a custom Wayland Compositor using the QWaylandCompositor 
framework.

When I try to drag & drop a simple MIME type between applications, the 
application receiving the drop crashes with:

wl_display@1: error 1: invalid method 3 (since 1 < 3), object 
wl_data_offer@4278190080
The Wayland connection experienced a fatal error: Invalid argument

I am using Qt 6.7.3 in RHEL 9.4.

To demonstrate, I created a minimal Drag&Drop application in attached QML. You 
can drag the number from one instance to the other and drop it on the "+" sign. 
It works fine in X11 as well as in Gnome/Mutter.
When I launch 2 instances in the minimal example QWayland compositor [1], the 
crash happens when dragging from one instance to the other.

Can anybody give me some hints how to fix this?

Thank You,
Ralf

[1] https://doc.qt.io/qt-6/qtwaylandcompositor-minimal-qml-example.html

Attachment: main.qml
Description: main.qml

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to