#1029810 dolphin / ark: Error when unpacking RAR archive while unrar is not installed

Package:
dolphin
Source:
dolphin
Description:
file manager
Submitter:
piorunz
Date:
2023-01-28 02:03:04 UTC
Severity:
normal
#1029810#5
Date:
2023-01-28 02:00:42 UTC
From:
To:
Dear Maintainer,

How to reproduce:
Make sure unrar and unrar-free packages are NOT installed.
Right click on some RAR file, Extract -> Extract archive here

* What was the outcome of this action?
Dolphin will produce error:
"There was an error while extracting ‘path to file.rar’:
Extraction failed. Make sure that enough space is available."

* What outcome did you expect instead?
Dolphin should produce message:
"Extraction failed.
unrar-free is not installed. Please install unrar-free or unrar to decompress
this archive."

Explanation:
This error message "Make sure that enough space is available" is very
confusing, I thought something is wrong with my system. Dolphin / Ark should
let user know it's not space available problem, but lack of decompress addon to
open the archive.

Note: I am reporting this against Dolphin, because all messages are with title
"Dolphin", and error itself also is in red as a warning inside opened folder
window where this error occured. Looks like Dolphin have handling of errors
like this build-in. So I feel Dolphin could handle it better here. If
inappropriate, please move this bug report to Ark.