[okular] [Bug 418586] New: Opening cbr files without unrar installed gives a generic error message

Merritt bugzilla_noreply at kde.org
Sat Mar 7 17:36:51 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=418586

            Bug ID: 418586
           Summary: Opening cbr files without unrar installed gives a
                    generic error message
           Product: okular
           Version: 1.9.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Comicbook backend
          Assignee: okular-devel at kde.org
          Reporter: merritt_public at outlook.com
  Target Milestone: ---

SUMMARY
When opening *.cbr files without unrar installed Okular returns a generic,
unhelpful error message.


STEPS TO REPRODUCE
1. Open a cbr file when the unrar package is not installed on the system

OBSERVED RESULT
Okular makes a loud 'DING!' and provides a generic error:

Error - Okular

Could not open file:///path/to/file.cbr



EXPECTED RESULT
Expected a helpful error message such as:

"This file type requires the unrar package. Please install unrar to view comic
books files."


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.4.22-1-MANJARO
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
When I tried to open a cbr file I got this error, and searching led me to a
thread with someone who previously had the same issue and a question of "Do you
have unrar installed?" - which I tried and it resolved the issue.

A simple change to the error message would help immensly and be more
user-friendly. Even better would be a button to "Download" that could
automatically search for unrar in the package manager, though I realize that
could be much more difficult if not impossible.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list