Summary: | Misleading error message if .gz file does not exist. | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | jarauh |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.8.3 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | patch |
Description
jarauh
2009-05-18 18:12:50 UTC
Yes, can confirm the duplicate message. In general, there should be better error messages, whenever possible. Created attachment 49657 [details]
patch
Added a file existence test.
openFile() returns false whether the in-existing file is an archive or not.
Only one message indicating an error is displayed.
Albert, If the patch is ok, can i commit myself?
With your instructions of course ;-)
SVN commit 1156882 by aacid: backport r1156880 | mathieulornac | 2010-07-29 23:51:49 +0100 (Thu, 29 Jul 2010) | 5 lines Checks if a file exists before trying to open it. Prevents from having 2 error messages when the file is an archive acked by tsdgeos BUG: 193132 FIXED-IN: KDE 4.5.1 M +6 -2 part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1156882 |