Summary: | Creating a folder named "." or ".." doesn't display an error | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Giorgi Gzirishvili <drn+dev.report.bugs.kde> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, elvis.angelaccio, mail, nate, tmarshall7997 |
Priority: | NOR | ||
Version: | 18.04.2 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kio/54298c16f37a81afb670f7b1c8fae323aedfb8a3 | Version Fixed In: |
Description
Giorgi Gzirishvili
2017-11-29 20:11:45 UTC
Can confirm with Dolphin 18.04.2, thanks for reporting! I'm going to start working on this one. It should be pretty easy just to check the name of the new folder. It also seems like this problem comes from KIO. Git commit 54298c16f37a81afb670f7b1c8fae323aedfb8a3 by Elvis Angelaccio, on behalf of Thomas Marshall. Committed on 29/07/2018 at 19:15. Pushed by elvisangelaccio into branch 'master'. Present error dialog when user tries to create directory named "." or ".." Summary: In Dolphin, when a user tries to create a folder named "." or "..", they are presented with a dialog that informs them that since the folder name they entered begins with a ".", the folder they are about to create will be hidden. This is, of course, misleading. This patch instead presents them with a similar dialog, informing them of the error and asking them for a new name. Before: {F5976307} After: {F5976315} Reviewers: #dolphin, #frameworks, ngraham, dfaure, elvisangelaccio Reviewed By: #dolphin, ngraham, elvisangelaccio Subscribers: cfeck, elvisangelaccio, dfaure, tmarshall, bruns, ngraham, kde-frameworks-devel Tags: #frameworks, #dolphin Differential Revision: https://phabricator.kde.org/D13805 M +27 -0 src/filewidgets/knewfilemenu.cpp https://commits.kde.org/kio/54298c16f37a81afb670f7b1c8fae323aedfb8a3 |