[okular] [Bug 373855] Forward search/named_destination feature not working anymore
Jonathan Verner
bugzilla_noreply at kde.org
Sat Jan 14 14:09:29 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=373855
Jonathan Verner <jonathan.verner at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.verner at gmail.com
--- Comment #6 from Jonathan Verner <jonathan.verner at gmail.com> ---
(In reply to Aleix Pol from comment #5)
> I looked through the issue, the problem is that there's a safe-guard so that
> files containing a # in the name won't be misinterpreted.
>
> Example. Something like:
> "okular /.../my#document.pdf"
> Shouldn't be opening the document "my" with a tag "document.pdf".
>
> I don't know who or why it was done.
>
> Now you are passing a tag with a dot in it, so the code thinks you're
> passing a document named: "mypdf.pdf#page.3" with "3" as an extension.
>
> Now if you ask me, the weird thing is that we're taking into account the
> possibility of a file with a # in its filename, but then I barely have
> experience in the area.
I haven't seen a file with a hash in its name, but that doesn't mean there
aren't any. Some filenames are really weird :-) What about trying to first open
the full filename (e.g. 'mypdf.pdf#page.3') and
if that fails, try opening 'mypdf.pdf' and finding the dest page.3?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list