a11y: Crash on drag'n'drop of widget in Hyperlink gtk4-demo
Steps to reproduce
- start gtk4-demo, run the "Hypertext" example
- select text from "
widgets
" to just before the word "and
", i.e. "widgets <level bar object>
" - Drag and drop that to the end of the text field.
Current behavior
Crash. Output:
(gtk4-demo:573113): GLib-CRITICAL **: 11:12:32.017: g_variant_new_take_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
(gtk4-demo:573113): GLib-CRITICAL **: 11:12:32.017: g_variant_new_variant: assertion 'value != NULL' failed
Segmentation fault
Version information
gtk git main as of 1297cc18, self-compiled on Debian testing.