Critical when trying to rename folder via side pane
Version information
d14e7cda compiled on Arch Linux
Steps to reproduce
mkdir ~/rename-methunar ~- View > Side Pane > Tree
- Expand your home directory in the side pane
- Right-click on the rename-me item and select Rename to trigger a critical
Current behavior
A critical is triggered and the rename dialog does not appear
thunar_dialogs_show_rename_file: assertion 'parent == ((void*)0) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((parent)); GType __t = ((gdk_screen_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; })))) || (((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((parent)); GType __t = ((gtk_window_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
Expected outcome
No critical and the rename dialog appears
Backtrace
N/A
Additional information
- 4.20.5 is not affected
- git bisect points to ed4cc260