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

        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52358 Tue Mar 27 12:26:46 MDT 2018 patrick.corless PDF-1248 for repaint after the back buffer is scaled and the buffer marked
        as dirty.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/viewer-awt/src/main/java/org/icepdf/ri/common/views/AbstractPageViewComponent.java
        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.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.3.1 [ 13113 ]
        Patrick Corless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: