Summary: | Autocomplete doesn't highlight the correct item | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Mattia Basaglia <glax> |
Component: | Code completion | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | igorkuo, mail |
Priority: | NOR | ||
Version: | 5.6.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screen grab of the bug |
> I think this is a regression because it was working fine on older version.
Can you specify the exact older version?
I suspect this regression could happen because of recent changes in KTextEditor. I think it has been changed much more than KDevelop's code completion implementation in recent time.
The comment https://bugs.kde.org/show_bug.cgi?id=271073#c7 also complains about recent code completion breakage. I'm not sure exactly, I use my distro package for kdevelop. I noticed the issue since I upgraded to Ubuntu 21.10 The package list shows the same version as in Ubuntu 20.04: https://packages.ubuntu.com/search?keywords=kdevelop but it was definitely working fine before I upgraded *** This bug has been marked as a duplicate of bug 444883 *** |
Created attachment 144171 [details] Screen grab of the bug SUMMARY I think this is a regression because it was working fine on older version. Now it seems autocomplete most of the time highlights the first entry in the completion menu, whether it has anything to do with what you are typing or not STEPS TO REPRODUCE 1. Have enough code that you can have autocompletion 2. start typing OBSERVED RESULT The completion suggestion is the first in alphabetical order. Sometimes it shows the right completion for a fraction of a second but then switches to the wrong one EXPECTED RESULT it should suggest based on what you typed so far SOFTWARE/OS VERSIONS Operating System: Kubuntu 21.10 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.13.0-22-generic (64-bit) Graphics Platform: X11 Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon ™ RX 470 Graphics ADDITIONAL INFORMATION I attached a video showing the issue