Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0
-
Fix Version/s: 5.0.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:ICEpdf 5.0.0 open source release
Description
OptionalContentState keeps track of the visibility state as the PDF document is traversed. It considers content visible if the top of the element of the OptionalContent stack is visible. I believe this is not the correct way to handle this. Instead isVisible should return the logical 'and' of the visibility state of all elements in the stack.
The attached patch resolves this issue. Additionally it resolves a thread-safety issue related to OptionalContentState.
The attached patch resolves this issue. Additionally it resolves a thread-safety issue related to OptionalContentState.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Pepijn Van Eeckhoudt
created issue -
Pepijn Van Eeckhoudt
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | optionalcontent.patch [ 15836 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.1 [ 10872 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |