Skip to content

MenuSectionBox: Increase priority of separator sync function

robxnano requested to merge robxnano/gtk:popover-menu-resize into main

This is a potential fix for #5166. The problem is caused by the menu being created and shown before the gtk_menu_section_box_handle_sync_separators function is caused, which means the menu is initially displayed for one frame without any separators.

Increasing the priority of the idle function appears to fix this behavior without introducing excessive or repeated calls to the function.

Merge request reports