| Summary: | New folder named ":foo" always created in home dir | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | nahoj |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugseforuns, dolphin-bugs-null, kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/commit/9d0a8240c7ec258b45b156f0970af56ab4fc4584 | Version Fixed/Implemented In: | 5.75 |
| Sentry Crash Report: | |||
|
Description
nahoj
2020-08-15 19:11:24 UTC
I can confirm this behavior. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/138 Git commit 9d0a8240c7ec258b45b156f0970af56ab4fc4584 by Ahmad Samir.
Committed on 18/09/2020 at 18:52.
Pushed by ahmadsamir into branch 'master'.
KNewFileMenu: fix creating new dir with name starting with ':'
QDir::isAbsolutePath(":foo") will return true since ':' at the beginning
denotes a QResource, which will make by QDir/QFileInfo consider it "not
relative, so it's absolute"...
FIXED-IN: 5.75
M +3 -1 src/filewidgets/knewfilemenu.cpp
https://invent.kde.org/frameworks/kio/commit/9d0a8240c7ec258b45b156f0970af56ab4fc4584
|