ICEpdf
  1. ICEpdf
  2. PDF-1105

AbstractPageViewComponent is failing to get graphicsConfiguration in some environments

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.2.1, 6.2.1_P01
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      A client has submitted an issue our new Viewer component in their applications. The problem arises because we get the graphicsConfiguration in the constructor of the AbstractPageViewComponent from the parent scrollPane.

      In the clients environment the parent scrollpane hasn't been assigned yet and thus the problem. As per their recommendation we are moving the graphicsConfiguation assignment to the calculateBufferLocation() call as it's still made on the awt thread.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.2.1 [ 13094 ]
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50319 Mon Jan 23 08:56:45 MST 2017 patrick.corless PDF-1105 fixed an initialization issue with the AbstractPageViewComponent graphicsConfiguration initialization, now lazy loaded on calculateBufferLocation();
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractPageViewComponent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50320 Mon Jan 23 08:56:56 MST 2017 patrick.corless PDF-1105 fixed an initialization issue with the AbstractPageViewComponent graphicsConfiguration initialization, now lazy loaded on calculateBufferLocation();
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/views/AbstractPageViewComponent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50338 Wed Jan 25 18:51:39 MST 2017 patrick.corless PDF-1105 fixed graphics state initialization issue in PageThumbnailComponent.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/viewer/src/org/icepdf/ri/common/PageThumbnailComponent.java
        Patrick Corless made changes -
        Fix Version/s 6.2.1_P01 [ 13095 ]
        Hide
        Patrick Corless added a comment -

        Unfortunately the change was not made the Page Thumb nail class and and is causing the thumbnail panel page components not to render.

        Show
        Patrick Corless added a comment - Unfortunately the change was not made the Page Thumb nail class and and is causing the thumbnail panel page components not to render.
        Patrick Corless made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: