Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.3
-
Fix Version/s: 6.2.1
-
Component/s: Core/Parsing, Core/Rendering
-
Labels:None
-
Environment:any
-
Support Case References:Support Case #14004 - https://icesoft.my.salesforce.com/5007000001hEwzC
Description
A customer has submitted a PDF that contains two button annotation types that are not drawn on the screen. Further investigation is needed.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 6.2 [ 13090 ] |
| Support Case References | Support Case #14004 |
| Support Case References | Support Case #14004 | Support Case #14004 - https://icesoft.my.salesforce.com/5007000001hEwzC |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #50160 | Wed Jan 18 12:49:45 MST 2017 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/AbstractAnnotationComponent.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #50161 | Wed Jan 18 12:49:58 MST 2017 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/AbstractAnnotationComponent.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #50162 | Wed Jan 18 12:55:11 MST 2017 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/CircleAnnotation.java
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/SquareAnnotation.java
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/InkAnnotation.java
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/tools/InkAnnotationHandler.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #50163 | Wed Jan 18 12:55:24 MST 2017 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/SquareAnnotation.java
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/tools/InkAnnotationHandler.java
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/InkAnnotation.java
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/CircleAnnotation.java
|
| Fix Version/s | 6.2.0_P01 [ 13094 ] |
| Fix Version/s | 6.2 [ 13090 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #50324 | Tue Jan 24 06:58:11 MST 2017 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java
|
| Status | Resolved [ 5 ] | Closed [ 6 ] |

The checkboxes in question are drawn using a coordinates system that isn't correctly reflected by the appearnce streams matrix. As a result they are being drawn in the incorrect location. I think it might be possible to keep track of the bounds of the shapes being drawn and compare them against the Annotations bounding rectangle object. If they are not contained we can compensate.
PDF/A read only
There is actually nothing the PDF/A specification that states that states that it should be read only. Adobe has been criticized for adding the "read-only mode" to the viewer if the attached meta data is labeled PDF/a. The specification states how the file should be written, not how it should be viewed.
The form fields can be set as read/only using the appropriate annotation flag and the viewer will respect it.
It is also possible to use the system property org.icepdf.core.annotations.interactive.enabled=false to disable annotation interactions. There is however a bug in the current widget implementation which will be fixed beofre the 6.2 release.