Created attachment 843259 [details]
Test case: UI example
Start this with
y2base ./MenuBar-shortcuts-test.rb qt
Open the "Edit" menu. Notice how menu items "Cut" and "Paste" are disabled
(while the "Read Only" check box below is checked).
Toggle the "Extra Buttons" check box; new buttons appear.
Open the "Edit" menu again: Both "Cut" and "Paste" are now enabled, even though
they should not be. Rebuilding the menu tree ignored each menu item's
enabled/disabled state.