[okular] [Bug 373855] Forward search/named_destination feature not working anymore

imad bugzilla_noreply at kde.org
Wed Dec 21 09:13:47 UTC 2016


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

--- Comment #4 from imad <imaduddinh at hotmail.com> ---
(In reply to Thomas Tuegel from comment #3)
> This is due to some changes in the way QUrl::fromUserInput works. As a
> workaround, you can prefix the path by `file:' (even for relative paths!)
> and get the correct behavior. For example, the following works for me
> although the original example does not:
> 
> $ okular file:mypdf.pdf#page.3

If you look at the original comment by Peter, you will see that that absolute
paths are used. This works:

$ okular "file://<absolute_path_to_pdf>#named_destination"

When using relative paths, omit the //. This does not work
"file://<relative_path_to_pdf>" while this does "file:<relative_path_to_pdf>"

The problem is rather that '#' gets replaced with '%23'. i.e. the following
does not work:

$ okular "file://<absolute_path_to_pdf>%23named_destination"

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


More information about the Okular-devel mailing list