ICEpdf
  1. ICEpdf
  2. PDF-628

Period blank pages in the Viewer RI

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any, Viewer RI
    • Salesforce Case Reference:

      Description

      Since the 5.0 release there has been very rare issue where some pages are rendered blank. A scale change will show the the page contents. While working through PDF-627 the blank page issue became more prevalent. The reason for this is because the Page object are now getting carbage collected more quickly.

      The PageViewComponentImpl gets an instance of the corresponding Page and two threads are used to initialize and paint the page. The Page reference in this case can be collected by the garbage collector between initialization and paint and thus paint has nothing to paint.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37293 Thu Aug 01 10:16:06 MDT 2013 patrick.corless PDF-628 update the page view so that it much less likely that the page reference will be uninitialized between the init thread call and the paint thread call.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Hide
        Patrick Corless added a comment -

        Updated the PageViewComponent and greatly lessened the chance that Page object can be garbage collected between initialization and painting.

        Show
        Patrick Corless added a comment - Updated the PageViewComponent and greatly lessened the chance that Page object can be garbage collected between initialization and painting.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0.3 [ 11070 ]
        Resolution Fixed [ 1 ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000UdJc3AAF
        Andrei Porc made changes -
        Comment [ A comment with security level 'Users' was removed. ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: