https://bugs.kde.org/show_bug.cgi?id=407103

--- Comment #26 from nfx...@gmail.com ---
I'd like to investigate whether the performance of this could be improved. My
change doesn't make it slower, but it's something that probably needs to be
done, and it might require intrusive changes.

If you use the project plugin with a very large project, quick open can take
unacceptably long. I tested with the linux kernel (~65k files, ~130ms, feels
annoying) and chromium (~300k files, ~800ms, not really acceptable). I suspect
it spends at least half of the time in QFileInfo or QUrl, but not sure yet.

(There was some time when kate essentially froze even on the linux kernel,
which I think provoked the change that unfortunately resulted in this bug
report?)

Michal Humpula, if you open "quick open", and hit enter, it's supposed to jump
to the previous file. Since the list entries are sorted by time of last use,
the first entry is always the currently opened file, and the second is the
previous file. I think this behavior is very useful, since it saves you a
random "down" keystroke. The "Last Used Views" switcher works in a similar way
and selects the second entry by default.

Selecting the first entry is just a regression.

We could also just not display the current file, or put it at the end of the
list. That would do the same job, but maybe more awkward.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to