GtkEntry drag drop mess up its content
GtkEntry drag drop mess up its content. This was tested in X11
How to reproduce:
- Run
gtk4-demo --run=entry_undo
- Enter some text, select a part of it, and drag to somewhere else
Result:
A cursor stays at the start of drag drop and the following warning is logged when text is deleted:
(gtk4-demo:27861): Pango-CRITICAL **: 15:54:51.412: pango_layout_get_cursor_pos: assertion 'index >= 0 && index <= layout->length' failed