When you click on a checkable BarButton located on a second level menu branch, the window goes to bottom level.
It seems to me that this was not happening in previous releases.
You can see this in your BarForm project: if you click on Window->MdiStyles->Tabbed, you see a window flickering: Window goes to bottom level, then the action on the barManager_CommandClick bring it back to front: if you do no action, window stay on back.
If you want to exactly duplicate the bug, follow these steps on BarForm.cs:
- create a BarPopupBotton with fullname = "Test.Test" and with checkable options enabled
- add the button to Window->Mdi Style
- add these lines to barManager_CommandClick event:When you click on the Test Button, the window with the menu goes at bottom level and "ActiPro Launcher" appears.
It seems to me that this was not happening in previous releases.
You can see this in your BarForm project: if you click on Window->MdiStyles->Tabbed, you see a window flickering: Window goes to bottom level, then the action on the barManager_CommandClick bring it back to front: if you do no action, window stay on back.
If you want to exactly duplicate the bug, follow these steps on BarForm.cs:
- create a BarPopupBotton with fullname = "Test.Test" and with checkable options enabled
- add the button to Window->Mdi Style
- add these lines to barManager_CommandClick event:
if (e.Command.Category == "Test")
{
return;
}