Optimize extract file item action

Merged Kai Uwe Broulik requested to merge work/kbrouli/compress-plugin-optimize into release/22.04

Skip non-local files in extract file item action

Ark cannot extract non-local files. Using QUrl::path() to get its local path is incorrect.

This causes Ark to unexpectedly stat a local folder, potentially waking up drives and network mounts, which happens to match the path on the remote location.

For example, opening the context menu in smb://server/some/path will check /some/path locally, potentially causing sleeping drives or network shares to be woken up.

Skip parent directory check if it is already read-only

There's no point in continuing to stat files through QFileInfo if the result will not change.

Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH


Merge request reports