mainTabSheetMode = MANAGED and managedMainTabSheetMode = UNLOAD_TABS makes reopen a menu fail

Hi,
I am trying to referring to below way to have all tabs of a sheet as UNLOAD and only one as HIDE, but found an issue:

The issue is:

  1. set cuba.web.mainTabSheetMode = MANAGED cuba.web.managedMainTabSheetMode = UNLOAD_TABS in web-app.properties and run application
  2. open screen1 from menu1; open screen2 from menu2
  3. now screen2 is the active tab, click menu1 again.
  4. expect screen1 bring active, but actually got below error:
java.lang.IllegalStateException: Screen is not opened ts$Client.browse
	at com.haulmont.cuba.web.sys.WebScreens.checkOpened(WebScreens.java:578)
	at com.haulmont.cuba.web.sys.WebScreens.remove(WebScreens.java:648)
	at com.haulmont.cuba.gui.screen.Screen.close(Screen.java:340)
	at com.haulmont.cuba.web.sys.WebScreens.showFromNavigation(WebScreens.java:540)
	at com.haulmont.cuba.gui.config.MenuItemCommands$ScreenCommand.run(MenuItemCommands.java:338)
	at com.haulmont.cuba.web.sys.MenuBuilder$MenuCommandExecutor.accept(MenuBuilder.java:256)
	at com.haulmont.cuba.web.sys.MenuBuilder$MenuCommandExecutor.accept(MenuBuilder.java:241)
	at com.haulmont.cuba.web.gui.components.mainwindow.WebAppMenu$MenuItemImpl.menuSelected(WebAppMenu.java:435)

I have ext.cubaVersion = ‘7.2.10’

Hi.
Thank you for reporting the problem. We have created a GitHub issue.

Regards,
Natalia.