Bug 247552 - Combo box auto completion does not get unselected.
Summary: Combo box auto completion does not get unselected.
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 19:38 UTC by Hugo Parente Lima
Modified: 2010-08-16 22:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.5.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2010-08-12 19:38:18 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

- Open kate, kwrite, whatever.
- Hit CTRL+O to open the file dialog.
- In the file name field type "/ho"
- type the down key to get the auto completion, so now the name field have "/home/"
- Start typing your username, the combo box still with the selection (bug), so you CAN'T use the autocompletion again, pressing the down key does nothing and pressing ENTER erase the entire text field.

This is a regression, it worked on kde4.4, with this bug auto the auto completion is useless, because I need to use the mouse to auto complete the sentence.

Reproducible: Always

Steps to Reproduce:
See details
Comment 1 David Faure 2010-08-16 22:49:31 UTC
SVN commit 1164472 by dfaure:

Unselect the current item when setting new completion items, if it is nowhere in the new items.
Regression introduced in r1121183. Unittested now, won't happen again ;)
FIXED-IN: 4.5.1
Thanks for the precise bug report.
BUG: 247552


 M  +19 -8     tests/klineedit_unittest.cpp  
 M  +3 -2      widgets/klineedit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1164472