Review Request 120204: Create password-protected archives with Ark

Elvis Angelaccio elvis.angelaccio at kdemail.net
Tue Jan 13 23:16:44 UTC 2015


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

(Updated Gen. 13, 2015, 11:16 p.m.)


Review request for KDE Utils and Raphael Kubo da Costa.


Changes
-------

Patch updated to address the issues from the UI review(s):

- I'm still not sure if the overall spacing/alignment is now acceptable...
- I tried to move a little more on the right (of the password fields) the lower checkbox, but it seems that `QFormLayout` doesn't allow me to do "indent" it.
- I added a tooltip also when the upper checkbox is not enabled
- The tooltips strings currently use the mime types for the [formatname] placeholder, since they are the easiest things I can get from a `KFileDialog`. I will investigate if there is a reasonable way to get more user-friendly strings instead of the mime types.


Bugs: 253694
    http://bugs.kde.org/show_bug.cgi?id=253694


Repository: ark


Description
-------

This patch allows the users to create password-protected archives using Ark. 
The supported plugins are `zip`, `7z` and `rar`.
The input fields for the passwords are displayed only when the relevent mime filters are selected in the `AddDialog` window.


Diffs (updated)
-----

  app/mainwindow.cpp aee823174a0b731e125381be09181938cdb6dd7d 
  kerfuffle/CMakeLists.txt 8c56b4f46090c924f0848ad229b6a3779af1f1f3 
  kerfuffle/adddialog.h 7c9f03e916da3a410482be2b45ff30923dfc1f9f 
  kerfuffle/adddialog.cpp 2950ee6e22c90c770bb3b9128243f9786989ee52 
  kerfuffle/adddialog.ui a1c595b89202b1f2b44dc4f9c2faf68f5f655eb1 
  kerfuffle/addtoarchive.h fa4608e0c0df9ea9cec3aa9e7323fb53dd1b12d3 
  kerfuffle/addtoarchive.cpp d13e0958468e3bb1aa85606e4fd4d3cb8ef6d3c0 
  kerfuffle/archive.h 515788f978c1d29146c25dcb57a9dad2d46371f7 
  kerfuffle/archive.cpp c2c5b18528def63405a8703475b1c592ca945973 
  kerfuffle/archiveinterface.h 801318b7842d78a0de54700ffdb43a945f513fbf 
  kerfuffle/archiveinterface.cpp 3319de074225ccf8cb0fe54ffadca5882cf29342 
  kerfuffle/cliinterface.h b4d79ed2f3ffbbbe28f7087f1fbff36de5138f36 
  kerfuffle/cliinterface.cpp eab1c6a3200543989fd501e4d54e3e0b06b48999 
  kerfuffle/createdialog.h PRE-CREATION 
  kerfuffle/createdialog.cpp PRE-CREATION 
  kerfuffle/createdialog.ui PRE-CREATION 
  kerfuffle/kerfufflePlugin.desktop 3999d24f414ede1bb377f47b8c7d46dc44459b7d 
  part/archivemodel.h 7f8c527fc331778e0ec74dce047eba5c56507499 
  part/archivemodel.cpp 43262689ad989e3a9233e279db6dcd532084a031 
  part/part.cpp 09fe1cbfcc7f4345fe12932055dcb041f50abb7b 
  plugins/cli7zplugin/cliplugin.cpp 500f121de97ef395110658a6ca495298bc797b46 
  plugins/cli7zplugin/kerfuffle_cli7z.desktop.cmake 29b355af72b02d767e099a6e7a61778a70ae4476 
  plugins/clirarplugin/cliplugin.cpp f5f7b184cb9f7ee16efd74968f2e86dc83668b4d 
  plugins/clirarplugin/kerfuffle_clirar.desktop.cmake 3091d9d384952fbe27a43049c66c2ee998017957 
  plugins/clizipplugin/cliplugin.cpp 1be2a10f722865c23fba6df5c25993742ce38d69 
  plugins/clizipplugin/kerfuffle_clizip.desktop.cmake 32ceced7b913c4d4a0d2007b4b3ea7b4ec850e35 

Diff: https://git.reviewboard.kde.org/r/120204/diff/


Testing
-------

Create `.zip`, `.7z` and `.rar` archives using the Ark `AddDialog` dialog (right click on an entry in Dolphin -> Compress -> Compress to...).
Those archives are created as expected and their entries are marked as *Password protected*.
If the user clicks on those entries, the standard password dialog is prompted to the user.


File Attachments (updated)
----------------

passwd-dialog-0.png
  https://git.reviewboard.kde.org/media/uploaded/files/2015/01/13/3bed4e8a-477e-4675-9920-1390e89d28ad__passwd-dialog-0.png
passwd-dialog-1.png
  https://git.reviewboard.kde.org/media/uploaded/files/2015/01/13/21c65550-60da-4984-838c-cf4e6579d894__passwd-dialog-1.png
passwd-dialog-2.png
  https://git.reviewboard.kde.org/media/uploaded/files/2015/01/13/f0a7764e-ae16-4e8c-81a7-d99de68a7a61__passwd-dialog-2.png
passwd-dialog-3.png
  https://git.reviewboard.kde.org/media/uploaded/files/2015/01/13/d894c54d-bb58-429c-b291-66bfef03aed6__passwd-dialog-3.png
passwd-dialog-4.png
  https://git.reviewboard.kde.org/media/uploaded/files/2015/01/13/2347d4d2-65b4-484c-80d1-e5c0f8f461c1__passwd-dialog-4.png


Thanks,

Elvis Angelaccio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20150113/b6abce0b/attachment-0001.html>


More information about the Kde-utils-devel mailing list