[konsole] [Bug 455282] Support for opening PDFs with page number

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jun 14 22:32:22 BST 2022


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

--- Comment #2 from alexandre at zurcher.digital ---
(In reply to tcanabrava from comment #1)
> Created attachment 149715 [details]
> attachment-3290-0.html
> 
> Seems doable, is this # used by other file formats too?
> 
> On Tue, 14 Jun 2022 at 22:14 <bugzilla_noreply at kde.org> wrote:
> 
> > https://bugs.kde.org/show_bug.cgi?id=455282
> >
> >             Bug ID: 455282
> >            Summary: Support for opening PDFs with page number
> >            Product: konsole
> >            Version: 22.04.1
> >           Platform: Fedora RPMs
> >                 OS: Linux
> >             Status: REPORTED
> >           Severity: wishlist
> >           Priority: NOR
> >          Component: general
> >           Assignee: konsole-devel at kde.org
> >           Reporter: alexandre at zurcher.digital
> >   Target Milestone: ---
> >
> > Created attachment 149714 [details]
> >   --> https://bugs.kde.org/attachment.cgi?id=149714&action=edit
> > Error in question, folder "test" contains one PDF file named "document.pdf"
> >
> > SUMMARY
> > When trying to open a PDF file finishing with page number (i.e
> > "document.pdf#2"), Konsole gives an error message that the file doesn't
> > exist.
> > Opening the same file by using the command `okular document.pdf#2` works as
> > intended.
> >
> > USECASE: I use a script based on pdfgrep to quickly find a PDF, then I
> > open it
> > in Okular by CTRL+clicking on it. Would be amazing for it to open at the
> > right
> > page as well !
> >
> > STEPS TO REPRODUCE
> > 1.  have a PDF document
> > 2.  in Konsole, do `echo "'./document_name.pdf#2'"`
> > 3.  try to CTRL+click './document_name.pdf#2'
> >
> > OBSERVED RESULT
> > Error message that the file doesn't exist (see screenshot for example - in
> > French)
> >
> > EXPECTED RESULT
> > PDF opening in Okular at the right page
> >
> > SOFTWARE/OS VERSIONS
> > Fedora Linux 36
> > KDE Plasma Version: 5.24.5
> > KDE Frameworks Version: 5.93.0
> > Qt Version: 5.15.3
> >
> > --
> > You are receiving this mail because:
> > You are the assignee for the bug.

Thanks for answering so quickly ! HTML files do come to mind, i.e
"index.html#main". I just tried it and it produces the same error when trying
to CTRL+clicking it. However, using "firefox index.html#main" does work as
expected.

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


More information about the konsole-devel mailing list