Bug 338264 - Okular 1.0.0 (frameworks 5) has invalid .desktop file
Summary: Okular 1.0.0 (frameworks 5) has invalid .desktop file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 338825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-14 12:35 UTC by Mykola Krachkovsky
Modified: 2014-09-17 18:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mykola Krachkovsky 2014-08-14 12:35:30 UTC
Okular 1.0.0 based on Frameworks 5 has exec string in .desktop file:
Exec=okular %U %i -caption %c
I believe, -caption is wrong parameters from previous version. It prevents okular to run.
Comment 1 Mykola Krachkovsky 2014-08-14 12:39:47 UTC
Same for okteta: https://bugs.kde.org/show_bug.cgi?id=338265
Comment 2 Albert Astals Cid 2014-08-21 21:40:07 UTC
Yeah just run it from the command line, it doesn't work either. Seriously i don't know why you bother with running frameworks 5 okular.
Comment 3 Mykola Krachkovsky 2014-08-27 12:04:46 UTC
It runs well from command line (or after desktop file edit) and open PDF files.
Comment 4 Albert Astals Cid 2014-08-27 17:30:40 UTC
Yes, that's a very low definition of "work" though :D
Comment 5 Mykola Krachkovsky 2014-09-02 14:32:43 UTC
That is simple change in one text file (see fix for okteta). For 9 of 10 cases I use okular to "just read PDF". So, okular5 mostly works for me. I haven't see any crashes, bugs or something yet. Just FB2 not yet supported and this one.
Comment 6 Albert Astals Cid 2014-09-06 16:04:48 UTC
*** Bug 338825 has been marked as a duplicate of this bug. ***
Comment 7 Frederik Gladhorn 2014-09-17 18:29:01 UTC
Git commit f7d1dd9312135e3f1820d98d38db5195b863fad9 by Frederik Gladhorn.
Committed on 17/09/2014 at 18:16.
Pushed by gladhorn into branch 'frameworks'.

Remove -caption %c from .desktop files

M  +1    -1    Mainpage.dox
M  +1    -1    generators/chm/okularApplication_chm.desktop
M  +1    -1    generators/comicbook/okularApplication_comicbook.desktop
M  +1    -1    generators/djvu/okularApplication_djvu.desktop
M  +1    -1    generators/dvi/okularApplication_dvi.desktop
M  +1    -1    generators/epub/okularApplication_epub.desktop
M  +1    -1    generators/fax/okularApplication_fax.desktop
M  +1    -1    generators/fictionbook/okularApplication_fb.desktop
M  +1    -1    generators/kimgio/okularApplication_kimgio.desktop
M  +1    -1    generators/mobipocket/okularApplication_mobi.desktop
M  +1    -1    generators/ooo/okularApplication_ooo.desktop
M  +1    -1    generators/plucker/okularApplication_plucker.desktop
M  +1    -1    generators/poppler/okularApplication_pdf.desktop
M  +1    -1    generators/spectre/okularApplication_ghostview.desktop
M  +1    -1    generators/tiff/okularApplication_tiff.desktop
M  +1    -1    generators/txt/okularApplication_txt.desktop
M  +1    -1    generators/xps/okularApplication_xps.desktop
M  +1    -1    shell/okular.desktop

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