Ark improvements in 16.04

Ark, the file archiver and compressor developed by KDE, has seen the addition of several new features as well as bugfixes in Applications 16.04. This blog post gives a short summary of the changes.

 

New features

Properties dialog

Ark got a properties dialog that shows various information about the currently opened archive. This includes e.g. archive type, compressed and uncompressed size, as well as MD5, SHA-1 and SHA-256 cryptographic hashes. The hashes can be selected with the mouse for easy copying. The properties dialog can be accessed in the Archive menu or using the keyboard shortcut ALT+RETURN.

Blog-16.04-props
Ark’s new Properties dialog.

 

Unarchiver plugin

Unarchiver  is a free and open-source  archive decompressor that supports e.g. RAR  archives. A new plugin for this decompressor was developed by Elvis  Angelaccio and added in Ark 16.04. Ark previously required unrar for opening/decompressing RAR archives. The new plugin is now used if unrar is not installed on the system. This is relevant because of unrar's not-completely-free status and hence not being easily available in some distributions.

See this blog post by Elvis for more details on the unarchiver plugin.

 

Support for new compression formats

Ark can now compress/decompress TAR archives using three new compression formats: Lzop, lzip and lrzip. Support for lrzip requires the lrzip executable to be installed. Additionally, support for creating tar.Z archives had been broken for some time, but this should now be fixed.

Blog-16.04-formats
Ark’s New Archive dialog showing support for several new compression formats.

 

Runtime check for executables

Ark now checks if executables needed to handle certain archive types are installed. If the executables are not found in path, the formats are not displayed in Open/New dialogs. Previously, an error would be displayed if the user attempted to open/create an archive for which a needed executable was not installed.

 

Improved password widget

Ark now uses the new password widget developed by Elvis Angelaccio (KNewPasswordWidget) when asking for a password to protect an archive. This means e.g. that the user gets nice color feedback when the second entered password is different from the first. There is also a “Show password” icon that can be clicked.

Blog-16.04-passwdwidget
Ark’s new password widget showing red background due to non-identical passwords.

 

 

Polishing of the user interface

Ark’s menus and toolbars were polished to hopefully achieve a more user-friendly, intuitive and modern interface.

Firstly, the status bar is now only displayed when a job is executing. This makes sense since it was only being used for displaying a progress bar when a job was running.

The menu system was re-organized. There is now an Archive and a File menu, which contain actions affecting the archive and files within the archive, respectively. Also, the toolbar was restructured to be less cluttered.

Blog-16.04-menus
The user interface of Ark was polished in 16.04. For example, the statusbar is now hidden and the menus and toolbar were reorganized.

Ark is now increasingly using it’s message widget instead of message boxes for displaying error, warning or information messages to the user. Additionally, various error messages were improved to be more user-friendly.

Blog-16.04-msgwidget
The message widget showing an information message to the user.

 

Bugfixes

A bunch of bugs were fixed in the 16.04 release; several of these being 6-7 years old. The bugfixes are too numerous to list here, but some of the most important ones are mentioned below.

When extracting, Ark should now present an error message if the destination partition is full. Previously, Ark would either fail silently or the user interface would be in a “busy” state continuously.

The quick-extract menu is used to quickly extract to destination folders that have been used previously. This menu has not worked since the port to KDE Frameworks 5 in Applications 15.08. Thanks to new Ark contributor Chantara Tith (tctara), the menu is now fixed and works properly.

Other bugfixes include drag’n’drop extracting huge files doesn’t fill the memory anymore, DrKonqi is now used again for handling crashes and overwriting archives should now work as intended.

 

Testing and feedback

The 16.04 beta is now out, while the release candidate will be out on April 6th and the final release on April 20th. Please test the new features and provide feedback either as comments on this blog post or as bugs on KDE’s bugzilla. Hopefully, we can squash some more bugs before the final release.

 

What’s next?

There are several new features planned for Ark 16.08. These include a possibility to set compression level when creating new archives and a plugin configuration page to allow users to e.g. select which plugins to use for various archive types.

 

Thanks to Elvis Angelaccio and Chantara Tith for their development work and Thomas Pfeiffer for providing feedback on user interface changes.

 

Advertisements