| Summary: | Creating a folder in desktop which starts with ":" will create it in home instead of desktop | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Amir <bahmani1998> |
| Component: | Desktop icons & Folder View widget | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dolphin-bugs-null, elvis.angelaccio, kde, kde, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.16.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.5.0 or earlier | |
| Sentry Crash Report: | |||
|
Description
Amir
2019-10-04 22:22:14 UTC
Also happens in Dolphin when doing the same in desktop:/, looks like a bug in the desktop slave, not Folder View. Some finds: It doesn't created it in your home folder, it gets created in the CWD. It's not unique to desktop:// if you make a folder in file:///home/david/foo called :something it still goes into another folder It goes in this path
if (QDir::isAbsolutePath(name)) {
url = QUrl::fromLocalFile(name);
which exists if you click mkdir and then type (for some reason) "/home/david/fullpath/fullpath'
input ":foo" ends up with the final url ends up being "file::foo"
THis appears to be working as of today's git master (which will become Plasma 6.5), if not earlier. |