Bug 484370

Summary: Auto complete setting does not apply the correct value, when set to a value less than 3
Product: [Applications] kate Reporter: drakkar123
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: minor CC: waqar.17a
Priority: NOR    
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description drakkar123 2024-03-24 08:06:57 UTC
SUMMARY
When using an auto complete setting of less than 3, the behavior does not match. The auto complete word list pops up, as if it were set to <value + 1>.


STEPS TO REPRODUCE
1. Set Auto completion setting to a value of: 1 or 2
2. Type the same word more than once.
3. Count the number of characters typed, before the auto complete word list activates.

OBSERVED RESULT
Actual auto completion result appears to be 1 more than the value set, when it is less than 3. I normally always use an auto completion of 2, and I noticed that I have to type 3 characters before the auto complete word list appears. When I change the setting to 1, then it behaves as if the setting were 2, so it's not all bad. But, I suppose if anyone out there normally uses 1, then they're out of luck :-(

EXPECTED RESULT
I expected the auto complete setting and behavior would match.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed Linux 6.8.1-1-default x86_64 GNU/Linux
(available in About System)
KDE Plasma Version: 6.0.2 (20240311)
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This bug also affects kwrite as well.
 
However, kdevelop does not seem to be affected by the bug. So, unfortunately, I get the auto complete list popping up in kdevelop every time I press just 1 key, since I have to use an auto completion setting of 1 to get auto complete behavior of 2 for Kate and Kwrite, and all 3 seem to share the same setting. Fortunately, it's a minor issue overall and only a slight annoyance.
Comment 1 Waqar Ahmed 2024-09-30 15:48:44 UTC
Can't reproduce. 

I typed hello in a txt file. Then typed "he" and then completion list appeared as expected
Comment 2 Waqar Ahmed 2024-10-08 08:57:17 UTC
Please share what type of document you used e.g., .txt, .cpp etc. And what are your completion settings?