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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: