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

--- Comment #6 from Sven Brauch <m...@svenbrauch.de> ---
Hi, sorry, I didn't want to play a blame game, I am thankful for Waqar's work
on this topic and I do feel somewhat responsible for the issue at hand because
I know I should have taken the time to test those changes. I didn't, so I don't
get to complain.

Still, this issue needs to be resolved somehow, and for this we first need to
figure out what's wrong. My impression is that the completion widget now
misbehaves in several ways when the model has a delay in updating its contents.
This potential delay is part of the design, and the widget should not misbehave
(open when it shouldn't open, or forget its filter string) when consumers have
a delay in providing their items. Is it possible that this concern was
overlooked in the changes because Kate's models are all extremely fast?

This cannot be fixed by making KDevelop's models faster, that's many thousand,
probably over ten thousand lines of code written providing the completion
items. kdev-python alone has ~3300 SLOC in its completion module. They are also
somewhat optimized, performance was always a concern here, and if it now takes
300 msecs, I very much doubt you can just go there and make it return the
results in 3 msecs.

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

Reply via email to