Bug 320195 - okular has lost ability to read (pdf.gz) and other gzipped documents
Summary: okular has lost ability to read (pdf.gz) and other gzipped documents
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-24 04:25 UTC by Gleb Kulikov
Modified: 2013-05-27 21:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Kulikov 2013-05-24 04:25:12 UTC
okular has lost ability to read (pdf.gz) and other gzipped documents. If try to open such files, it complains for "can not find a plugin witch is able to handle the document being passed ".

versions from 0.16.0 to 0.16.3 are affected. 
No information about 0.16.60.

Reproducible: Always

Steps to Reproduce:
1. start okular
2. try to open gzipped document
3. be unhappy
Actual Results:  
dialog window "Could not open..." is shown

Expected Results:  
Simply open the file.
previous versions has opens such files without problems
Comment 1 Yuri Chornoivan 2013-05-24 05:24:30 UTC
Works here (Okular 0.16.60). The cause might be some problems with MIME types in your system.

It can be useful if you give some details on kdelibs version.
Comment 2 Gleb Kulikov 2013-05-24 05:37:36 UTC
rpm -qa:

kde4                            4.10-alt1
kde4-base                   4.10.3-alt1
kde4-base-common   4.10.3-alt1
kde4-base-runtime   4.10.3-alt1

rpm -qf /usr/share/kde4/servicetypes/okularGenerator.desktop 
kde4-okular-core-4.10.3-alt1

ALT Linux (Sisyphus (rolling repo)) X86_64
Comment 3 Albert Astals Cid 2013-05-24 13:30:22 UTC
Can you please run it in english
   KDE_LANG=en_US okular
and give us the exact error message you are getting?
Comment 4 Gleb Kulikov 2013-05-27 04:27:00 UTC
>    KDE_LANG=en_US okular
> and give us the exact error message you are getting?

Screen message was: Can not find a plugin which is able to handle the document being passed

Console messages:

[0xbf2208] main services discovery error: no suitable services discovery module

okular(21222)/okular (app) Okular::Document::openDocument: No plugin for mimetype '"application/x-gzpdf"'
Comment 5 Albert Astals Cid 2013-05-27 21:08:22 UTC
Right, happens here too, working on a fix
Comment 6 Albert Astals Cid 2013-05-27 21:34:36 UTC
Git commit d8133a173c18a6a3093d2e8acfd75c978fdce7c0 by Albert Astals Cid.
Committed on 27/05/2013 at 23:33.
Pushed by aacid into branch 'KDE/4.10'.

Do compressed checks based on mime inheritance

Instead of using a hardcoded map
FIXED-IN: 4.10.4

M  +21   -10   part.cpp

http://commits.kde.org/okular/d8133a173c18a6a3093d2e8acfd75c978fdce7c0
Comment 7 Albert Astals Cid 2013-05-27 21:35:14 UTC
Git commit 0fa9232f785cd78dfc8d91bfe720f0bd06b995f4 by Albert Astals Cid.
Committed on 27/05/2013 at 23:33.
Pushed by aacid into branch 'master'.

Do compressed checks based on mime inheritance

Instead of using a hardcoded map
FIXED-IN: 4.10.4

M  +21   -10   part.cpp

http://commits.kde.org/okular/0fa9232f785cd78dfc8d91bfe720f0bd06b995f4