Bug 224986 - krunner should not execute auto completion when I paste something into its line input field
Summary: krunner should not execute auto completion when I paste something into its li...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 12:08 UTC by Martin Steigerwald
Modified: 2018-01-05 15:12 UTC (History)
2 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 Martin Steigerwald 2010-01-31 12:08:30 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

krunner autocompletes when I paste something into its line input field. It should not, cause it makes workflows like the following difficult:

- I mark and copy a debian bug number from somewhere else
- I enter "dbug " in krunner
- krunner shows a possible completion with a debian bug number I used previously, could be a KDE bug as well, its the same thing
- now I want to insert the new bug number instead
- I press middle mouse button
- KRunner autocompletes the old bug number and then appends the new one

Sure I can press backspace once to remove the space after dbug. Then the autocompletion suggestion disappears. But when I then insert the new bug number there is no space between dbug and bug number.

I think pasting something into krunner input field is a quite regular use case and that krunner autocompletes some old suggestions then just does no make any sense to me. If I wanted the old suggestion I wouldn't try to paste something else into the text input field.
Comment 1 Martin Steigerwald 2014-03-07 13:32:28 UTC
I cannot reproduce this in KDE SC 4.12.2. Krunner still does autocompleting the bug number in the input field with a grey text color, but when I paste mine, it aborts the auto completion and pastes mine. Well done. Thanks. Closing.
Comment 2 Janet 2014-03-07 14:52:18 UTC
Please re-open, this is not solved here! KDE SC/krunner is version 4.12.2, Debian Sid.

When I enter a command in krunner, e.g. kdesu followed by a blank, I get a greyed out proposal, e.g. krusader. When I then use the middle mouseclick to paste something into krunner it reads like "kdesu somethingkrusder", so I have to use backspace to delete the last part.

The text completion method is set to "Drop down menu & Automatik".
Comment 3 Martin Steigerwald 2014-03-07 18:57:05 UTC
Janet, interesting. Text completion method was set to "Automatic short" here. I set it to "Drop down menu & automatic" and see that for this completion method the bug is not fixed. Thus reopening and setting as confirmed. Thanks, Martin
Comment 4 Kai Uwe Broulik 2018-01-05 15:12:40 UTC
KRunner in Plasma 5 doesn't use KCompletion anymore and this shouldn't apply anymore.