Skip to content

Optimize extract file item action

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

https://github.com/mercedes-benz/daimler-foss/blob/master/PROVIDER_INFORMATION.md

Merge request reports