You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "khyrul bashar (JIRA)" <ji...@apache.org> on 2015/04/10 11:10:12 UTC

[jira] [Commented] (PDFBOX-2736) First page and last page navigation with keyboard shortcuts in PDFReader

    [ https://issues.apache.org/jira/browse/PDFBOX-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489214#comment-14489214 ] 

khyrul bashar commented on PDFBOX-2736:
---------------------------------------

There is a little problem with this new patch. Page title doesn't update when navigated to last and first page by this way. Cause is {{updateTitle()}} method is not called in both new methods {{firstPage()}} and {{lastPage()}} .

> First page and last page navigation with keyboard shortcuts in PDFReader
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-2736
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2736
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Swing GUI
>    Affects Versions: 2.0.0
>            Reporter: khyrul bashar
>            Assignee: Tilman Hausherr
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 2.0.0
>
>         Attachments: first_last_page.diff
>
>
> For navigating first page and last pages of a pdf file, there is no keyboard shortcut like other PDF readers. It's a simple yet intuitive functionality for any PDF reader. 
> Generally ctrl+End, End are used to jump to the last page while ctrl+Home, Home are used to jump to the first page. 
> I've written a patch for this.
> In View menu, two new entry is added i.e "First page", "Last Page" along with keyboard shortcuts. And view menu items are made responsive e.g.  when I'm in the first page "previous page" and "first page" menu entries are disabled. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org