Bug 175917 - Find/Replace inline suggestion overwrites my query
Summary: Find/Replace inline suggestion overwrites my query
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeui (other bugs)
Version First Reported In: SVN
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 18:27 UTC by Scott
Modified: 2024-06-20 18:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2008-11-23 18:27:46 UTC
Version:           3.1.2 (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

There is an inherent problem with the "inline suggestion" function, the function that auto-completes what you type in the Find/Replace fields with highlighted blue text.

To recreate:
1. Open Replace dialog and search for "qwerty".
2. Type "wer" in the Find box.
3. Put a q at the beginning in order to search for "qwer".

The auto complete suggests "qwerty" but I wanted "qwer" and there is no way to revert it to "qwer" that  I can see. If I wanted to add "qasd" to the beginning of the string, I end up with "qasd" rather than "qasdwer" as expected.

It's obviously a big issue for long strings and regular expressions.

I can't think of any ways to fix apart from removing the inline suggestion function altogether and instead using the popup menu like previous versions.

Highlighting just the parts being completed would be nice - e.g. "ty" in the example above - but then the cursor would need to be after the r instead of after the q where it should be.

Anyone have other suggestions? I also can't find any option to turn this off, which would be the only workaround for now...
Comment 1 Andreas Pakulat 2008-11-24 09:41:48 UTC
This is a problem of the line-edit being used here. Its currently being discussed on the usability list what could be done.
Comment 2 Christoph Cullmann 2024-06-20 18:54:58 UTC
Behaves better for me with KF 5 or 6.