Menu items are added after the show signal and only after a ThunarJob is finished. That causes the menu to have scrollbars, I just don't know why the menu items aren't shown. If they are hardcoded to be added right after the "show" signal, they will appear.
Xfdesktop is not affected because menu items for file templates are created before the menu is shown (i.e. synchronously). This seems to be a race condition we are dealing with.
I'm working on a reproducer sample so I can report this to gtk devs.
Thanks Thomas for the bisect, unfortunately that commit doesn't show anything that I can related to this bug. /git.xfce. org/xfce/ thunar/ tree/thunar/ thunar- templates- action. c?id=a7a6aabb95 5df4c59190c012d aab98424905735b #n170
I already spent some time investigating this, but nothing conclusive yet, just that the problem may stem from here:
https:/
And here: /git.xfce. org/xfce/ thunar/ tree/thunar/ thunar- templates- action. c?id=a7a6aabb95 5df4c59190c012d aab98424905735b #n495
https:/
Menu items are added after the show signal and only after a ThunarJob is finished. That causes the menu to have scrollbars, I just don't know why the menu items aren't shown. If they are hardcoded to be added right after the "show" signal, they will appear.
Xfdesktop is not affected because menu items for file templates are created before the menu is shown (i.e. synchronously). This seems to be a race condition we are dealing with.
I'm working on a reproducer sample so I can report this to gtk devs.