[Interest] QWaylandCompositor and Drag & Drop between applications
GAMILLSCHEG Ralf
Ralf.GAMILLSCHEG at frequentis.com
Fri Sep 27 14:32:22 CEST 2024
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 at 1: error 1: invalid method 3 (since 1 < 3), object wl_data_offer at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240927/9a8f16be/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.qml
Type: application/octet-stream
Size: 1692 bytes
Desc: main.qml
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240927/9a8f16be/attachment.obj>
More information about the Interest
mailing list