Bug 168498 - there's a latency/delay on auto-completion
Summary: there's a latency/delay on auto-completion
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 12:00 UTC by Wolfram R. Sieber
Modified: 2010-02-20 13:20 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram R. Sieber 2008-08-06 12:00:14 UTC
Version:           3.1.0 (using 4.1.00 (KDE 4.1.0), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

I'm used to Kate on Linux, and first I did in this Windows-only environment was to get kate, for its great auto-completion. Glad, KDE's on Windows now!

But there's an issue with auto-completion in Windows Kate.

On Linux the auto-completion drop-down list immediately gets drawn, once the pre-selected number of chars of a word were entered. So, familiar to auto-completion as I am, and used to what's in the buffer, I often just type the first few letters of the words, then hit Enter to get them completed. 

However, on the Windows version of Kate, there is a significant delay between typing and the moment the list appears, so typing the first few letters, then hitting Enter fails: The list simply is not yet there when I hit Enter, so I don't get the completion, but instead enter the next line. [Which, as a side-effect of not only getting the word not completed also demands me to re-find the cursor on the screen (inexpected reaction, hence I need to look around first).]

So, what to do? Now, to get auto-completion I regularly wait for the auto-completion to get drawn. That is an delay of approx 1 sec per word. (Okay, I don't use this for short words, but anyways, it is an innecessary delay compared to Kate on Linux. And, IMO one sec per word is a lot.)

So, I'd appreciate a lot if you could improve Kate to skip the 1 sec delay. -- At least, you could offer an option that allows to disable the delay.
Comment 1 Markus Krötzsch 2008-10-16 09:05:59 UTC
I observe a similar problem on Kate 3.1.2 on KDE Linux. I first assumed KDE4's excessive eyecandy to be the reason, but the popup shows similar delays on XFCE without any composite/3D rendering enabled. I still have the impression that this is a performance issue rather than an intentional delay, and some clever optimization might be needed to restore the level of responsiveness that has been Kate's standard in KDE3.

Anyway, the short delay makes autocompletion much less useful for me, since it never appears when I simply type -- I need to pause intentionally for the window to open.
Comment 2 Daniel Quinn 2008-11-08 00:41:09 UTC
I can confirm this with KDE 4.1.3 (Kate 3.1.3) running in Arch Linux.
Comment 3 Hikaru 2009-08-11 21:34:33 UTC
I'm using KDE 4.3 with Windows. There is no delay.
Comment 4 Christoph Cullmann 2010-02-20 13:20:36 UTC
Then we close that, since KDE 4.1, kate got many performance improvements.