[Okular-devel] [okular] [Bug 325044] PostScript file with extension .txt are not rendered as PostScript

Albert Astals Cid aacid at kde.org
Wed Aug 13 21:55:17 UTC 2014


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.14.0
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/okul
                   |                            |ar/fba90677fcc9ccf0e6f5efe7
                   |                            |5e7446703d669d36

--- Comment #8 from Albert Astals Cid <aacid at kde.org> ---
Git commit fba90677fcc9ccf0e6f5efe75e7446703d669d36 by Albert Astals Cid.
Committed on 13/08/2014 at 21:51.
Pushed by aacid into branch 'KDE/4.14'.

Fine tune mime type detection used for opening files

If the argument mimetype and filepath mimetype disagree, first try to use the
filepath mimetype and if that fails use the argument one. On top of that if
text/plain is the first, first try with content mimetype since the text backend
never fails to open a file

I can now open https://bugs.freedesktop.org/attachment.cgi?id=99508 (which is
served as text/plain) and PS files with .txt extension (bug 325044)

REVIEW: 119737
FIXED-IN: 4.14.0

M  +60   -18   part.cpp
M  +2    -0    part.h

http://commits.kde.org/okular/fba90677fcc9ccf0e6f5efe75e7446703d669d36

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list