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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: