Review Request 126799: Add optional confirmation dialog when hiding file by renaming inline

Roman Gilg subdiff at gmail.com
Wed Sep 25 21:43:21 BST 2019


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126799/
-----------------------------------------------------------

(Updated Sept. 25, 2019, 8:43 p.m.)


Status
------

This change has been discarded.


Review request for Dolphin and Emmanuel Pescosta.


Repository: dolphin


Description
-------

This patch is based on feature request https://bugs.kde.org/show_bug.cgi?id=356770 and implements a confirmation dialog when the user hides a file by renaming inline. This is meant to help new Unix users by not accidently hiding files.

It is possible to deactivate the confirmation dialog for future operations, which is saved in the Dolphin config.

Not yet considered in this basic implementation: Hiding files is generally dangerous for new users. So maybe there should allways be an (optional) warning, not only when editing filenames inline. Extending the backend by implementing the same confirmation dialog in KIO::moveAs() could be an idea for the future.


Diffs
-----

  src/settings/dolphin_generalsettings.kcfg 9ff14d1 
  src/settings/general/confirmationssettingspage.cpp 264024a 
  src/views/dolphinview.cpp 5023859 


Diff: https://git.reviewboard.kde.org/r/126799/diff/2/


Testing
-------

Arch, Plasma 5.5.3:
- Basic functionality
- Config saved, loaded


File Attachments
----------------

confirmhide.png
  https://git.reviewboard.kde.org/media/uploaded/files/2016/01/21/11a9241e-1828-47bf-a400-59ed316f93e6__confirmhide.png


Thanks,

Roman Gilg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190925/e98791b5/attachment.htm>


More information about the kfm-devel mailing list