open url does not work for local pdf view

Bug #1106204 reported by Edward Neafsey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
Wishlist
Adam Reichold

Bug Description

I use pdflatex and hyperref to create a file called index.pdf, which contains links to other local pdf files that are part of a homemade help system.

index.tex contains lines like the following:

\href{test.pdf}{test}

When I open index.pdf with acroread or xpdf, I can follow the link to test.pdf.
When I open index.pdf with qpdfview , I can't follow the link to test.pdf.

If I change the link to a normal http link like http://google.com and then open index.pdf with qpdfview, it will follow the link to the external url using my browser.

I have tried a variety of ways of setting up the link, including run:test.pdf or file:///xxxx/yyyy/test.pdf but none works.

Any help appreciated.

Thanks.

E.J. Neafsey

Changed in qpdfview:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Adam Reichold (adamreichold)
Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello Edward,

Thanks for reporting this issue! This might be a well-known limitation of qpdfview: Due to such links being rather rare, we have not implemented links to external documents. They are in a different part of the PDF specification than plain URL links as they can also link to a specific page in the external file.

This would explain the behavior you reported, but just to be on the safe side: Could you attach one of those files to this bug report so I can test that this is indeed the problem? If it is, I'll try implementing this feature in an upcoming version.

Best regards, Adam.

Revision history for this message
Adam Reichold (adamreichold) wrote :

I just made a test using the hyperref package and pdfLaTeX myself and it seems to create external links using the \href command as you described. I hope to implement this tomorrow, so maybe this will be fixed in the daily builds then. (Btw., you should be able to create a "normal" URL link to PDF file using \url instead of \href, but of course this doesn't really solve the problem...)

Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, this should work since trunk revision 946. Depending on which operating system resp. distribution you use, this should hit the daily builds soon. Testing is very much appreciated.

Changed in qpdfview:
status: Triaged → In Progress
milestone: none → 0.4
status: In Progress → Fix Committed
Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello Edward,

Were you able to test these changes? Do they solve your problem?

Best regards, Adam.

Revision history for this message
Edward Neafsey (eneafse) wrote : Re: [Bug 1106204] Re: open url does not work for local pdf view

Dear Adam,

Thanks for reply.

Here are some sample files: index.pdf and qgis_add_lines.pdf

If you open index.pdf with xpdf or acroread and then click on "qgis
lines" the file qgis_add_lines.pdf opens.

This does not happen in qpdfview.

I have also included my index.tex file, which pdflatex processes to
create index.tex.

Thanks.

E.J. Neafsey

Adam Reichold <email address hidden> writes:

> ** Changed in: qpdfview
> Status: New => Triaged
>
> ** Changed in: qpdfview
> Importance: Undecided => Wishlist
>
> ** Changed in: qpdfview
> Assignee: (unassigned) => Adam Reichold (adamreichold)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1106204
>
> Title:
> open url does not work for local pdf view
>
> Status in qpdfview:
> Triaged
>
> Bug description:
> I use pdflatex and hyperref to create a file called index.pdf, which
> contains links to other local pdf files that are part of a homemade
> help system.
>
> index.tex contains lines like the following:
>
> \href{test.pdf}{test}
>
>
> When I open index.pdf with acroread or xpdf, I can follow the link to test.pdf.
> When I open index.pdf with qpdfview , I can't follow the link to test.pdf.
>
> If I change the link to a normal http link like http://google.com and
> then open index.pdf with qpdfview, it will follow the link to the
> external url using my browser.
>
> I have tried a variety of ways of setting up the link, including
> run:test.pdf or file:///xxxx/yyyy/test.pdf but none works.
>
> Any help appreciated.
>
> Thanks.
>
> E.J. Neafsey
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qpdfview/+bug/1106204/+subscriptions

--
E.J. Neafsey / <email address hidden>
My YouTube Channel:
http://www.youtube.com/channel/UCwCu_G_7KpSpSp48MHvyOYg?feature=mhee

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello Edward,

I tested your files with the current daily builds and it seems to work as excepted. Are you able to try out the daily builds so that you can confirm this yourself?

Regards, Adam.

Changed in qpdfview:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.