I can always reproduce this behavior: - start Krusader; - navigate in to folder with some files; - focus one file and hit F4 (edit); - Editor window opens where you can see blinking cursor: editor field has focus, it reacts to typing; - Alt+Tab to to main Krusader's window; - focus second file and hit F3 (view); - when Viewer opens (in same window as Editor but in second tab) close it by hitting Esc; - main Krusader's window pops in to front; - Alt+Tab to Editor's window (where earlier file was opened for editing); - now you see focused Editor's window (you can tell from window's header); this time cursor is not blinking and typing goes to nowhere; you must click with mouse on to text field or hit Tab to bring focus to text field; if there is more than one tab opened then you can switch between them using Left and Right keys. Reproducible: Always Actual Results: After closing one tab focus jumps to headers of remaining tab/tabs. Expected Results: Focus must stay in text field.
I can confirm this issue. This issue is also related to 376372. I would like to solve this little issue.
I cannot really confirm the behaviour. When closing a tab, the focus in the other tab stays in the text area. But I noticed you can switch the focus between text area and tabbar with META+Tab. Maybe you just have problems with the shortcuts?
Git commit 4f0fbcb507bbbc68b6f0d2bf7bb7b95727fd6936 by Alexander Bikadorov, on behalf of Miroslav Milanovic. Committed on 05/08/2017 at 18:13. Pushed by abikadorov into branch 'master'. KrViewer looses focus - fixed FIXED: [363437] Edit field looses focus after closing one of Editor's/Viewer's tab Related: bug 376372 FIXED: [376372] KrViewer window loses focus on closing tabs Differential Revision: https://phabricator.kde.org/D6850 M +0 -5 krusader/KViewer/krviewer.cpp https://commits.kde.org/krusader/4f0fbcb507bbbc68b6f0d2bf7bb7b95727fd6936