Bug 389113 - The most recently used document order is not respected when a document is closed
Summary: The most recently used document order is not respected when a document is closed
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-17 14:55 UTC by Ramiro Polla
Modified: 2020-10-27 04:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Simple fix (1.02 KB, patch)
2018-01-17 14:55 UTC, Ramiro Polla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramiro Polla 2018-01-17 14:55:15 UTC
Created attachment 109938 [details]
Simple fix

Older versions of kate (in Ubuntu 14.04 I think) would follow the most recently used document order when closing a document.

To reproduce:
- Open file "a", "b", "c", and "d" (in this order)
- Use "Previous Document" twice (you should be back at "b")
- Close document

The expected behaviour is for "c" to be shown.

The attached patch is a simple fix that Works For Me™, but I'm sure you will find a cleaner and better way to do it.
Comment 1 Justin Zobel 2020-10-27 04:25:34 UTC
Please place your patch (if still needed) through KDE Gitlab (https://invent.kde.org/utilities/kate)