ICEpdf
  1. ICEpdf
  2. PDF-1248

AbstractPageViewComponent doesn't repaint after a scale change

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3.1
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      A community member has a test case where the initial painting of the viewer component page content is a bit pixelated. I've tried reproducing this problem locally but haven't had any luck. Duplicating the viewer's use as a component can be difficult given the various configuration and parent types.

      It's entirely possible that the component is being construct off the AWT thread as well.

        Activity

        Hide
        Patrick Corless added a comment -

        I'm pretty sure that if the image looks pixelated then the most likely cause would be the painting the back buffer as a scaled instance. The buffer should be repainted immediately afterwards but there could be a corner case where this doesn't happen. I'm going to add a repaint just to make sure the dirty buffer flag is picked up and the back buffer is recreated at the correct zoom.

        Show
        Patrick Corless added a comment - I'm pretty sure that if the image looks pixelated then the most likely cause would be the painting the back buffer as a scaled instance. The buffer should be repainted immediately afterwards but there could be a corner case where this doesn't happen. I'm going to add a repaint just to make sure the dirty buffer flag is picked up and the back buffer is recreated at the correct zoom.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: