Bug 321483

Summary: An error parsing a (probably corrupted) .ppt file, shows the dialog: "could not open ........." instead of a more meaningful one.
Product: [Applications] okular Reporter: Jaime Torres <jtamate>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaime Torres 2013-06-22 08:50:42 UTC
the stderr output is as follows:
caught IOException while parsing SummaryInformation   "((quint32)_s.numPropertySets) == 1 || ((quint32)_s.numPropertySets) == 2" 
stream position:  28 
error parsing SummaryInformationStream 
Parsing and setup failed. 

This bug is about the information shown in the error dialog.
If it shows, for example, the dialog "error parsing the file ........, it could be damaged", I could have not tried to see the file several times.


Reproducible: Always
Comment 1 Albert Astals Cid 2013-06-22 20:07:34 UTC
Patches welcome :-)
Comment 2 Jaime Torres 2013-06-23 08:07:24 UTC
I see.....
It is quite difficult to know what happened with just a boolean :-(
I'll try with the canceled(&msg) signal.. But still not much contiguous free time.