**Steps to reproduce** 1. open a document in Geany 2. click on a tab-title of the sidebar 3. switch to a file-manager-window, like PCManFM-Qt 3. mark a TXT-document 4. press enter (result: the document appears in Geany)
**Result** the tab-title of the sidebar is still in focus
**Expectation** the tab-title of the editor should be in focus
**Remark** same for the message window (so, do the test from above with the message window instead of the sidebar)
**System** Lubuntu 23.10 Geany 1.38