[Okular-devel] [Bug 193132] New: Misleading error message if .gz file does not exist.

jarauh at hotmail.com jarauh at hotmail.com
Mon May 18 18:12:51 CEST 2009


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

           Summary: Misleading error message if .gz file does not exist.
           Product: okular
           Version: 0.8.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: jarauh at hotmail.com


Version:           0.8.3 (using KDE 4.2.3)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

If I try to open a .ps.gz file that does not exist, I get the following error
message:

"File Error! Could not open the file
/home/jarauh/okula/home/jarauh/Documents/manual/ch8.ps.gz for uncompression.
The file will not be loaded."

If I click on details, I get:

"This error typically occurs if you do not have enough permissions to read the
file. You can check ownership and permissions if you right-click on the file in
the Dolphin file manager and then choose the 'Properties' tab."

When I click on `ok´ another error message comes up:
"Could not open
file:///home/jarauh/okula/home/jarauh/Documents/manual/ch8.ps.gz"

If the file has any other ending (not .gz) then I only get the second kind of
error message.

I am not completely sure what the correct KDE-behaviour in such a situation
should look like, but I think that this should be improved (at least, one error
message should be enough in any case...).

Maybe okular could check whether the file exists before invoking any backend.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list