Recent Documents Switcher Sort Order

Andreas Pakulat apaku at
Wed Nov 21 14:00:33 GMT 2012


as my first answer was swalled it seems (due to the ml-move) I'll
reply here again.

On Wed, Nov 21, 2012 at 12:39 PM, Milian Wolff <mail at> wrote:
> On Tuesday 20 November 2012 08:59:03 Martin Heimlich wrote:
>> I'm an avid KDevelop user for some years now, but I still haven't figured
>> out what kind of scheme is used to sort the documents in the "Recent
>> Documents Switcher" :).
>> Most of the time Ctrl-TAB brings back the document that was in the
>> foreground right before the current one, but sometimes I get to some
>> different document and looking at the popup the order does not seem to have
>> anything to do with my document usage history and I cannot figure out any
>> kind of sort order (alphabetic etc.).
>> I admit that am quite lazy on closing documents which leads to me having
>> 30-40 files open all the time. Sometimes the "recent" file is almost at the
>> bottom of the list, which makes it quite annoying and hard to find.
>> Please give me a hint on how files are sorted, so I can adapt to it.
>> Anyway, thanks for your great work on KDevelop!
>> Bye,
> It should be LRU sorted, but apparently it is not (always). If you find a way
> how to reproduce this, please report a bug on and give us the
> steps required to reproduce this such that we can fix it.

FWIW, this has been a problem ever since I wrote the plugin. In some
situations it looks like sublime is sending out the signals the plugin
uses to be notified about view-changes even if no view change happened
which causes the view to be moved up and others down in the list. IIRC
this happens especially when closing files.


More information about the KDevelop mailing list