Bug 163805

Summary: File dialog: Selecting completition item doesn't select that file in the view
Product: [Frameworks and Libraries] kdelibs Reporter: Alan Braslau <alan.braslau>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alan Braslau 2008-06-11 17:31:15 UTC
Version:           1.9.51 (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.25

During message compostion, attaching a file opens the "Attach File - Kmail" dialog. Entering the desired name in the Location field selects matching filenames as I type, but then fails to correctly use the selected filename.

As in illustration, the selected directory contains the files:
myfile2007.pdf
myfile2008.pdf
Typing "myfile290" then nicely presents 2 choices as a tooltip popup. Selecting the second indeed shows up in the Location field, yet the first remains highlighted in the filelist pane. It is the highlighted filename that is then attached.

A precision: typing "myfile2008" does highlight the correct name, and the desired file is attached. The bug seems to be in the selection from the tooltip style short list.
Comment 1 Alan Braslau 2008-06-11 17:32:31 UTC
The above should read:
Typing "myfile200" then...
Comment 2 Thomas McGuire 2008-06-16 20:02:17 UTC
The file dialog comes from kdelibs, moving the bug to there (and adjusting summary to what the problem seems to be according the description).
Comment 3 Jakub Stachowski 2008-06-21 12:55:15 UTC

*** This bug has been marked as a duplicate of 155356 ***