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

HTML Cas Viewer floods the history list unnecessarily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.7.0SDK
    • Core Java Framework
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: