ICEpdf
  1. ICEpdf
  2. PDF-69

One page view infinite reinitialization loop

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1, 4.0 - Beta, 4.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      This has been reported in the past but I've never been able to reproduce it until now. When viewing a page in single page view either spin the wheel mouse really fast or hold down the arrow key to quickly change the current page. Under normal circumstances the single page view should remove the previously viewed page from the panel and replace it with the current page.

      The page component has code that will detect when it is no longer in the clip of the view and stop painting itself. For some reason this logic fails after extended UI input all loaded pages start re-initializing themselves even if they are not currently visible.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 10222 ]
        Patrick Corless made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 3.1.1 [ 10217 ]
        Fix Version/s 4.0 [ 10212 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Fixed for 3.1.1 and merged for 4.0

        Show
        Patrick Corless added a comment - Fixed for 3.1.1 and merged for 4.0
        Hide
        Patrick Corless added a comment -

        I've updated the paint time to make sure the page component being painted is also showing. This seem to fix the runaway page initialization for the single page view.

        Show
        Patrick Corless added a comment - I've updated the paint time to make sure the page component being painted is also showing. This seem to fix the runaway page initialization for the single page view.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19622 Thu Nov 05 12:44:23 MST 2009 patrick.corless PDF-69 - added single page component view fix to trunk.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19618 Thu Nov 05 11:07:07 MST 2009 patrick.corless PDF-69 added code to the page component to check for isShowing as requirement before repainting its self.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-3.1.0/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: