Bug 356770 - Confirmation if filename is changed to begin with a dot (= hidden file)
Summary: Confirmation if filename is changed to begin with a dot (= hidden file)
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 10:31 UTC by Matti Kettunen
Modified: 2018-12-17 13:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!