You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2014/07/05 16:36:33 UTC

[jira] [Created] (UIMA-3936) HTML Cas Viewer floods the history list unnecessarily

Marshall Schor created UIMA-3936:
------------------------------------

             Summary: HTML Cas Viewer floods the history list unnecessarily
                 Key: UIMA-3936
                 URL: https://issues.apache.org/jira/browse/UIMA-3936
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.6.0SDK
            Reporter: Marshall Schor
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)