Bug 325415 - Okular won't open link from a PDF
Summary: Okular won't open link from a PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.15.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-29 10:39 UTC by Jaakko Seppälä
Modified: 2013-09-30 04:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A test pdf file (18.93 KB, application/pdf)
2013-09-29 10:39 UTC, Jaakko Seppälä
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaakko Seppälä 2013-09-29 10:39:40 UTC
Created attachment 82538 [details]
A test pdf file

I'm using Okular 0.15.5. I found that the link made by LaTeX won't be opened on my version of Okular. Namely, if I compile this document:

\documentclass[a4paper]{amsart}
\usepackage[utf8]{inputenc}
\usepackage[]{hyperref}
\begin{document}
See also \href{http://www.google.com/}{Google}.
\end{document}

by pdflatex:

jaakko@jaakko-VPCEB1S1E:~/Desktop/Tärkeät$ pdflatex testi.tex 
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
 restricted \write18 enabled.
entering extended mode
(./testi.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, et
hiopic, farsi, arabic, pinyin, croatian, bulgarian, ukrainian, russian, slovak,
 czech, danish, dutch, usenglishmax, ukenglish, finnish, french, basque, ngerma
n, german, swissgerman, ngerman-x-2012-05-30, german-x-2012-05-30, monogreek, g
reek, ibycus, ancientgreek, hungarian, bengali, tamil, hindi, telugu, gujarati,
 sanskrit, malayalam, kannada, assamese, marathi, oriya, panjabi, italian, lati
n, latvian, lithuanian, mongolian, mongolianlmc, nynorsk, bokmal, indonesian, e
speranto, coptic, welsh, irish, interlingua, serbian, serbianc, slovenian, friu
lan, romansh, estonian, romanian, armenian, uppersorbian, turkish, afrikaans, i
celandic, kurmanji, polish, portuguese, galician, catalan, spanish, swedish, th
ai, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2009/07/02 v2.20.1
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(./testi.aux) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./testi.out) (./testi.out) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.ma
p}] (./testi.aux) )</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/c
m/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.
pfb>
Output written on testi.pdf (1 page, 19384 bytes).
Transcript written on testi.log.

I can see the document properly and it looks like there is a turquoise border around the text Google but nothing happens if I click the link.
Comment 1 Yuri Chornoivan 2013-09-29 10:45:39 UTC
Can you try to switch to "Browse" mode on toolbar and repeat?

Works here in Okular 0.17.60.
Comment 2 Jaakko Seppälä 2013-09-29 11:01:49 UTC
I tried to use Tools/Brows tool. I also found that when I triple click the link, something flashes very quickly on my screen. Also, the console outputs

(okular:6966): Gtk-CRITICAL **: IA__gtk_progress_configure: assertion `value >= min && value <= max' failed

three to five times.
Comment 3 Jaakko Seppälä 2013-09-29 16:00:07 UTC
And in particular, when I repeated the test, it had no effect to this bug. But I'm not sure if browse tool is the same as "Browse" mode.
Comment 4 Albert Astals Cid 2013-09-29 21:39:20 UTC
Works fine here in 0.17.1

Can you record a video with the various recording tools so we can see what are you doing in case you are doing something special we are failing to see?
Comment 5 Jaakko Seppälä 2013-09-29 22:39:24 UTC
Now I can open the link correctly. I found the solution by upgrading Ubuntu 12.10 to 13.04.