[Bug 155356] New: KFileWidget opens wrong file in some cases (reproducible with KWrite)

Urs Wolfer uwolfer at kde.org
Wed Jan 9 22:16:29 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=155356         
           Summary: KFileWidget opens wrong file in some cases (reproducible
                    with KWrite)
           Product: kfile
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdelibs-bugs kde org
        ReportedBy: uwolfer kde org


Version:            (using KDE Devel)
Installed from:    Compiled sources

In some special cases, KFileWidget returns not the correct selected file. Steps to reproduce this:
* open KWrite
* open the file open dialog
* click the dropdown arrow in the location combobox
* select one item from the dropdown and remember it's name
* click open
* KWrite open instead of this one the atm open file again

2nd way to reproduce:
* do the first 2 steps again
* paste a full file name into the input line. (e.g. a filename from the compiler output...)
* click open
* same happens as above...

After some debugging, I think the problem is in the completion of KFileWidget. The completion object does not emit a "match" signal... This is probably because the completion object has not been requested in the cases above.


More information about the Kdelibs-bugs mailing list