ICEpdf
  1. ICEpdf
  2. PDF-102

Undoing a deleted annotation action results in painting issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      The viewer RI allows for users to select Link annotations on a page and delete them with either the 'delete' key or crt-d. The delete state is stored in the memento and can be undone or redone using the edit menu commands. There is a bound issue with the annotation is restored after a delete.

      Test Case
      - move an Link annotation to another location.
      - delete the annotation
      - now execute the undo command twice.

      result after undo
      - annotation will be painted at it's original location. But the annotation component will be stock in the location of the the original delete.



        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20250 Fri Jan 15 07:19:54 MST 2010 patrick.corless PDF-102 fixed bug which prevent the state of delete components frrom being restored correctly.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/AnnotationComponentImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/AnnotationState.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/common/AnnotationHandler.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: