Summary: | File picker could react more intelligently when the location field is given a full file path | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | doncbugs |
Component: | Open/save dialogs | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kdelibs-bugs, nate, qydwhotmail |
Priority: | NOR | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/commit/ed569eccd4a7dffc737a64beb878b0588dba98e7 | Version Fixed In: | 5.102 |
Sentry Crash Report: |
Description
doncbugs
2022-10-01 17:51:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1090 Git commit ed569eccd4a7dffc737a64beb878b0588dba98e7 by Fushan Wen. Committed on 31/12/2022 at 14:00. Pushed by fusionfuture into branch 'master'. kdiroperator: fix full file path not being stripped QDir::isReadable always returns true for an unknown path if the parent folder is readable, so use QFileInfo::isReadable instead. Need to use QUrl::StripTrailingSlash and QUrl::RemoveFilename separately since in QUrlPrivate::appendPath, QUrl::RemoveFilename is done before QUrl::StripTrailingSlash. FIXED-IN: 5.102 M +22 -0 autotests/kdiroperatortest.cpp M +8 -2 src/filewidgets/kdiroperator.cpp https://invent.kde.org/frameworks/kio/commit/ed569eccd4a7dffc737a64beb878b0588dba98e7 |