The document list offers a context menu option "Close." When using the close context menu option to close a document other than the currently displayed document, kate changes the displayed document after closing the other file, instead of leaving the currently displayed document alone. Reproducible: Always Steps to Reproduce: 1. Open several files 2. In the file list, right-click close one of the other (not currently active/displayed) documents Actual Results: kate switches to a different document Expected Results: kate does not switch to a different document (continues to show the same document as before closing the other document)
Git commit f8b6fb698376691f88a9bde40640314ae7e42297 by Joseph Wenninger. Committed on 03/08/2013 at 14:01. Pushed by jowenn into branch 'master'. If documents are closed, but they had no top most view, keep the view. Only if the active view vanished, replace it by the first document. M +4 -1 kate/app/katedocmanager.cpp http://commits.kde.org/kate/f8b6fb698376691f88a9bde40640314ae7e42297