Summary: | Tree view in open/save dialog: click on a file inside a directory only brings to that directory | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Grósz Dániel <groszdanielpub> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | andresbajotierra, ereslibre, faure, pfeiffer |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Grósz Dániel
2009-01-10 21:55:15 UTC
Here using: Qt: 4.5.1 (qt-copy 971295) KDE: 4.2.92 (KDE 4.2.92 (KDE 4.3 >= 20090617)) kdelibs svn rev. 984425 / kdebase svn rev. 984427 on ArchLinux i686 - Kernel 2.6.29.4 I can confirm the described behaviour in the save dialog of KWrite. Indeed, it seems the treeView case wasn't properly considered: "void KFileWidgetPrivate::setLocationText(const KUrl& url)" with a non-dir url sets the directory if that url contains it. So when you click an item inside an expanded folder in the treeview, setLocationText("dir/file") is called, and the file part is stripped. Also, void KDirOperator::setUrl(const KUrl& _newurl, bool clearforward) does this. Someone with more knowledge about this could fix it An additional observation: it seems to me that the problem occurs in the file dialogs where only one file can be selected and not when several files can be selected. Hi, kdelibs (version 4 and earlier) is no longer maintained since a few years. KDE Frameworks 5 or 6 might already have resolved this bug. If not, please re-open against the matching framework if feasible or against the application that shows the issue. We then can still dispatch it to the right Bugzilla product or component. Greetings Christoph Cullmann |