Bug 356770

Summary: Confirmation if filename is changed to begin with a dot (= hidden file)
Product: [Applications] dolphin Reporter: Matti Kettunen <matti.kettunen>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: aryan100jangid, nate, subdiff
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matti Kettunen 2015-12-16 10:31:37 UTC
If user is not familiar with hidden files he/she can accidentially hide a file by changing the filename. 

Reproducible: Always

Steps to Reproduce:
1. Activate file and press F2 to rename it
2. Press delete or backspace
3. Press enter

Actual Results:  
File will be renamed with it's extension only. For example file.pdf -> .pdf 
Because new filename begins with a dot it will be hidden.

Expected Results:  
Dolphin should ask for confirmation if user is changing filename so that the file will be hidden. 

Confirmation should be asked because most of the "normal" computer users are not familiar with hidden files and they might think that the file was accidentally deleted.
Comment 1 Roman Gilg 2016-01-18 18:30:47 UTC
Hi Matti!

Emmanuel told me about your feature request and thought that this would be a good opportunity for me to try something out. ;)

I did a review request: https://git.reviewboard.kde.org/r/126799/
And if my codechange is not too terrible, it could be soon part of the codebase.

If you have something to add to my review request or if there is something else, just tell me.

Thanks for your idea!

Greetings
Roman
Comment 2 Nate Graham 2017-08-18 16:08:32 UTC
Hi Roman, Thanks for the patch! It seems that you caught us at a transitional time; patches are now hosted oh phabricator: http://phabricator.kde.org/

Would you mind moving your patch over there, and adding the review groups "KDE Applications" and "Dolphin"? Thanks!