Details
Description
When saving a document the isChanged() method does not reflect the fact that the document has been saved since the last change.
Procedure:
- start ICEpdf Viewer 5.0.4
- open a PDF document
- create a (random) annotation
- save the document
- close ICEpdf Viewer
Then you'll be prompted to save the changes before saving. This is not a behaviour consistent with common practice - if there are no changes since the last save I'll expect the viewer to simply close down!
It would be nice if the changes collection is updated automatically when saving the document but we also have implemented other save routines (Save, Save As, AutoSave/Backup, Export locked PDF etc) and would hence also like to be able to clear the changes collection from outside the StateManager() (See suggested solution in the workaround)
Procedure:
- start ICEpdf Viewer 5.0.4
- open a PDF document
- create a (random) annotation
- save the document
- close ICEpdf Viewer
Then you'll be prompted to save the changes before saving. This is not a behaviour consistent with common practice - if there are no changes since the last save I'll expect the viewer to simply close down!
It would be nice if the changes collection is updated automatically when saving the document but we also have implemented other save routines (Save, Save As, AutoSave/Backup, Export locked PDF etc) and would hence also like to be able to clear the changes collection from outside the StateManager() (See suggested solution in the workaround)
Activity
S. Cribble
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.1 [ 10675 ] |
Patrick Corless
made changes -
Affects Version/s | 5.2 [ 10970 ] | |
Affects Version/s | 5.0.4 [ 11072 ] |
Patrick Corless
made changes -
Fix Version/s | 5.2 [ 10970 ] | |
Fix Version/s | 5.1 [ 10675 ] |
Patrick Corless
made changes -
Component/s | Viewer RI [ 10027 ] | |
Component/s | Core/Parsing [ 10022 ] |
Patrick Corless
made changes -
Fix Version/s | 5.3 [ 12070 ] | |
Fix Version/s | 5.2 [ 10970 ] |
Patrick Corless
made changes -
Fix Version/s | 6.2 [ 12974 ] | |
Fix Version/s | 6.1 [ 12070 ] |
Accidentally assigned major priority to this bug - please downgrade to something less critical