[Okular-devel] [Bug 154698] Won't open some TIFF files

Pino Toscano toscano.pino at tiscali.it
Thu Dec 27 23:14:05 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=154698         
toscano.pino tiscali it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|okular-devel kde org        |kdelibs-bugs kde org
          Component|TIFF backend                |general
            Product|okular                      |kdelibs



------- Additional Comments From toscano.pino tiscali it  2007-12-27 23:14 -------
> > Okular just uses what KMimeTypes reports to be the mimetype of the 
> > file, and then uses the backend responsible for handling that 
> > mimetype. If the backend receives something it cannot read, it's not 
> > its fault. 
>  
> That is not actually the case.

It's nice to see how you reject the explanation of the developers of that architecture.

> KDE is using the MIME type of the file 
> to determine which Okular backend to call.

> So, this problem might be caused by Okular's architecture.

No.
Okular asks KMimeType to determine the mimetype of the file, then it chooses which backend to call acording to what KMimeType reports.

Okular just trusts what KMimeType reports as results. No less and no more.

> Gwenview, OTOH, is directly presented with the file and has no problem
> reading it. 

... just because both TIFF and JPEG are image formats supported by gwenview.
If you do
  kfile --dialog <image>
where <image> is the first attachment, you see (Preview tab) it fails to generate the preview; while if you do that after renaming it to .jpg, the preview is rendered correctly.

Thus, I'm reassigning the problem to kdelibs (where KMimeType is), as should be KMimeType to report us the correct mimetype for it.


More information about the Okular-devel mailing list