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

James Richard Tyrer tyrerj at acm.org
Thu Dec 27 22:53:43 CET 2007

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
tyrerj acm org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW

------- Additional Comments From tyrerj acm org  2007-12-27 22:53 -------
Re: Comment #6

You seem to fail to understand what CONFIRMED means.  It means that the
reported behavior can be reproduced by another person.  Are you claiming
that you can NOT reproduce the behavior which I reported which is that
the first attachment won't open in Okular and the second attachment will?

> 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.  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.  Gwenview, OTOH, is directly presented
with the file and has no problem reading it.

> To the TIFF issue: both the Qt TIFF plugin AND the okular TIFF
> backend use libtiff, so in case that file is really a TIFF, the
> problem is there.

You are trying to talk down this bug rather than trying to find out
exactly what the problem is and correct it.

Modification to the KDE MIME type system might be sufficient to fix this bug, but I don't know if it is necessary.  Still, there does seem to be a bug there since the extension 'tif' overrides the Magic while if the file has no extension it is correctly identified as JPEG.

More information about the Okular-devel mailing list