ICEpdf
  1. ICEpdf
  2. PDF-874

Long delay on first click of a page bookmark

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      With a provided PDF file, the first click of a bookmark link takes 30+ seconds to show the associated page. There is no indication to the user that something is being processed as well. All subsequent clicks of the links are fast to load the associated page.

        Activity

        Arran Mccullough created issue -
        Hide
        Patrick Corless added a comment -

        The slow down occurs when we go to parse a very large named destination tree which is placed at the end of the file. As a result we see the slow down of RandomAccessFile's read method. The file name tree will load quite a bit quicker if the file is first loaded into memory first.

        I'll update the Viewer RI to show a wait icon to at least let the user know that something is happening during the parse.

        Show
        Patrick Corless added a comment - The slow down occurs when we go to parse a very large named destination tree which is placed at the end of the file. As a result we see the slow down of RandomAccessFile's read method. The file name tree will load quite a bit quicker if the file is first loaded into memory first. I'll update the Viewer RI to show a wait icon to at least let the user know that something is happening during the parse.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.2 [ 10970 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44499 Tue Apr 14 15:19:40 MDT 2015 patrick.corless PDF-874 added a wait cursor to outline tree event processing.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Hide
        Patrick Corless added a comment -

        Marking as fixed as the user will have feedback that something is happening after a click. But for this type of file I highly recommend they consider using in memory file loading.

        Show
        Patrick Corless added a comment - Marking as fixed as the user will have feedback that something is happening after a click. But for this type of file I highly recommend they consider using in memory file loading.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44559 Thu Apr 23 10:05:15 MDT 2015 patrick.corless PDF-874 added a wait cursor to outline tree event processing.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: