Context menu separators are added after displaying menu
Affected version
- Nightly flatpak: Yes
- Other: Files 43.1, Fedora Linux 37 (Workstation Edition) with GNOME 43.2
Steps to reproduce
- Open Files program
- Right click on any empty space (not file or directory)
Current behavior
After context menu opens it grows in size after a split second. Only after recording a video it became apparent, that at first context menu has no separators and they are added a bit later, after menu is already open, thus increasing context menu height and introducing a bit jarring "animation".
Expected behavior
Context menu should open with all elements already drawn and do not change its size.
Additional information
Context menu when it shows up:
Context menu after a frame or two, when separators are added: