Dock panel's currentTitle
is not reset to undefined
when the last widget is moved elsewhere
#10895
Labels
shell
issues related to the core shell
Bug Description:
After the last tab of a
TheiaDockPanel
in the shell (e.g. main or bottom) was moved to another area (e.g. main to bottom), thecurrentTitle
property is not set toundefined
but still points to the moved tab. It seems that the panel'smarkAsCurrent
method is never called to reset toundefined
.This does not happen if the last widget is closed because the
currentTitle
is properly reset then.The bug can be observed via the
Close Tab in Main Area
command. It is still active after the last widget was moved from the main to another area. Executing the command closes the moved widget despite it not being in the main area.Steps to Reproduce:
Close Tab in Main Area
Additional Information
close-main-tab.mp4
The text was updated successfully, but these errors were encountered: