Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.3
-
Fix Version/s: 6.2.4
-
Component/s: Core/Parsing, Core/Rendering
-
Labels:None
-
Environment:Viewer RI
Description
When testing the Viewer RI it's possible to very quick zoom in/out with the ctrl key and the mouse wheel. Occassionaly an image will fail to load and won't be painted until some indeterminate amount of time passes.
While working on a ImageReference type I decide to dig a little deeper. When a zoom in/out occurs before the previous paint thtread finishes we interrupt the old thread and start painting fresh on a new painter thread. The interrupt exception is picked up the the CacheImageReference implementation and it returns a null image value. Becuase of the cached nature the image will not be loaded again until the parent page view clears it cache. The image will eventually retrieved at later time when all the conditions line up.
While working on a ImageReference type I decide to dig a little deeper. When a zoom in/out occurs before the previous paint thtread finishes we interrupt the old thread and start painting fresh on a new painter thread. The interrupt exception is picked up the the CacheImageReference implementation and it returns a null image value. Becuase of the cached nature the image will not be loaded again until the parent page view clears it cache. The image will eventually retrieved at later time when all the conditions line up.
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.2.4 [ 13099 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51507 | Wed May 10 15:02:05 MDT 2017 | patrick.corless | from reinitializing in a timely fashion. |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51508 | Wed May 10 15:03:43 MDT 2017 | patrick.corless | from reinitializing in a timely fashion. |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51511 | Wed May 10 15:10:08 MDT 2017 | patrick.corless | from reinitializing in a timely fashion. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51512 | Wed May 10 15:10:39 MDT 2017 | patrick.corless | from reinitializing in a timely fashion. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51517 | Thu May 11 15:30:33 MDT 2017 | patrick.corless | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51521 | Fri May 12 11:28:04 MDT 2017 | patrick.corless | on getImage as we have all the data at this point and should be thread safe. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51526 | Mon May 15 15:12:17 MDT 2017 | patrick.corless | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51527 | Mon May 15 15:12:28 MDT 2017 | patrick.corless | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51540 | Wed May 17 13:45:55 MDT 2017 | patrick.corless | on getImage as we have all the data at this point and should be thread safe. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51541 | Wed May 17 13:47:38 MDT 2017 | patrick.corless | |
Files Changed | ||||
![]() |
Status | Resolved [ 5 ] | Closed [ 6 ] |
I've change the ImageReference class to now catch, log and throw the interupt exception so it publes up to the call page paint. This allows to properly flush the prevous buffer and start painting and initializing in a clean state.