[PATCH] KFileWidget locationEdit issue

alessandro diaferia alediaferia at gmail.com
Mon Jun 16 18:42:00 BST 2008


 Hello,
I've just encountered a nasty bug in kfiledialog (open mode) when you have
some history. The steps to reproduce are:

1 - Start a KDE app which uses kfiledialog (e.g. KWrite) possibly with
recent *opened* files.
2 - Click on 'open'.
3 - Type the name of a folder you can see in the dialog's view.
3 - Press Enter.

 Result: the first file in the history opens.

Expected behavior: the dialog should 'cd' into the folder typed, and it
shouldn't open any file (especially because it is not even telling you what
the file that is going to be opened is ;-) ).
Currently, if you press the 'Open' button the behiavour is correct.

The patch should fix. Can someone please review it and tell me if it's ok to
commit?

Regards
-- 
Alessandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080616/558736b6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfilewidget_patch.diff
Type: application/octet-stream
Size: 461 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080616/558736b6/attachment.obj>


More information about the kde-core-devel mailing list