Dragging text in gtk4
First reported in issue #3642 (closed).
I've found several problems with drag-and-drop in gtk4. My system uses the X11 backend. I found these problems in demos and example programs in gtkmm and gtkmm-documentation. They also occur in similar programs in gtk. Here I report a problem that was partly fixed by MR !3151 (merged).
Start 2 instances of tests/testdnd.
Drag text from the drag label to the drop label in the same instance. Succeeds.
Received "I'm Data!" in label
Drag text from the drag label in one instance to the drop label in the other instance. Also succeeds. Was fixed by MR !3151 (merged).
Start one instance of gtk4's tests/testdnd and one instance of gtk3's tests/testdnd.
It's possible to drag text from gtk3 to gtk4.
When text is dragged from gtk4 to gtk3, an empty string is sometimes received,
Received "" in label
but usually nothing is received (no output from the receiving window).
Dragging between gtk4 and gedit works equivalently. It's possible to drag text from gedit to gtk4, but not from gtk4 to gedit.