ICEpdf
  1. ICEpdf
  2. PDF-347

Create new system property to disable page loading proxy

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.2.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      A client has asked for a way to disable a flash of white that appears when a page is initialized. The flash is a problem for users in low light environments.

      We currently use a image loading proxy which will paint he page content when it is ready to paint. During the parser delay a white page is drawn to represent the page, shortly their after the page content is painted.

      The system property should disabled the proxy loading and have the page's paintComponent wait for the page to be initialzed before the painting starts. Going to be a little bumpy if the page is complicated but there will not be any flash.

        Activity

        Hide
        Patrick Corless added a comment -

        I'ved updated the PageViewComponentImpl class with a new system property "org.icepdf.core.views.page.proxy" which has a default value of true. A value of true enables the page loading proxy where false will disable it.

        Show
        Patrick Corless added a comment - I'ved updated the PageViewComponentImpl class with a new system property "org.icepdf.core.views.page.proxy" which has a default value of true. A value of true enables the page loading proxy where false will disable it.
        Hide
        Patrick Corless added a comment -

        System property has has been checked in.

        Show
        Patrick Corless added a comment - System property has has been checked in.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: