Enhancement
Major
Detail
Bugfix
Detail
Sometimes it happens that tabbars of a view are not visible, for example because one lacks the permissions for it. In this case, even the BreadCrumb does not change when you select a new tab of the visible parent tab. The problem lies in com.top_logic.layout.tree.model.ComponentTreeModel.changeSelection(DefaultMutableTLTreeNode). A TabBarModel is found, but since the tabbar is not visible no selection is made. Thus no redering of the BreadCrumb is triggered. The phenomenon can be observed in TL-Demo, if you are not logged in as root and go to the tab "Structures". Then either no BreadCrumb at all or an outdated one is displayed:
Enhancement
In com.top_logic.layout.tree.model.ComponentTreeModel.changeSelection(DefaultMutableTLTreeNode), if a tabbar is found but no tab is selected (for example because it is not visible), then the current path without the tabbar is set as breadcrumb.
Test
Create a new user without giving him special permissions. Log in with this user and view the breadcrumbs on the page Structures > Type Demo. These must be set to "Structures : Type Demo" as soon as this tab is opened.