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

        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.
        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.
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: