Multiple menu bars is not correctly supported PART 2
With multiple menu bars in Gnomon, this scenario changes the menu of Bar 2 although we interact with Bar 1.
With Gnomon at commit ea083111ca16ea9077461f252af22a6726fb413f, in branch feature/menu-improvements or develop if it is merged.
With dtk-widgets at commit 6815b411, in branch feature/issue-67-multiple-menubars or develop if it is merged. This commit is needed to trigger this new bug, the previous bug needs #67 (closed) to be fixed for this one to occur.
With these reproduce steps :
- In the PlantGL panel (the second one, in the central third of the screen), click the File (first) icon in the menu bar.
- In the Code panel (the first one, on the left-hand side of the screen), click the Edit (second) icon in the menu bar.
- In the Code panel, click the View (third) icon in the menu bar.
Expected behaviour: the PlantGL panel does not change because we clicked in the Code panel.
Observed behaviour: the PlantGL panel changes, it goes from the File menu to the root menu.