Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3936

HTML Cas Viewer floods the history list unnecessarily

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      The html version of the CAS Viewer (as used by the Document Analyzer, if you select html as the format) uses Javascript to display annotations in the right-side pane on mouse-over, and resets this when the mouse moves out of the item on the main pane.

      The reset is done using the frame's document, via doc.close() and doc.open(). This clears the annotation pane OK, but the open() causes a History record to be created.

      This is compounded by the fact that a word may be covered by many annotations, and there's one of these clear actions for each covered annotation. So if you have 6, moving out causes 6 resets, and 6 additions to the History. This rapidly make it appear that the "back" button is broken...

      Use a different reset method to avoid overloading the history list.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            schor Marshall Schor
            Reporter:
            schor Marshall Schor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development