Ticket #111 (closed defect: moved)

Opened 13 years ago

Last modified 6 years ago

Better data transform changed events

Reported by: sorber Owned by: curtis
Priority: major Milestone: visbio3.50
Component: visbio Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by curtis) (diff)

Mouse events cause unnecessary updates to parts of the VisBio GUI—the DatasetPane flickers, and the 'Please wait' message appears in the display window. Currently, the following is the only call in all mouse methods of OverlayTool subclasses that has the effect of updating the display:

overlay.notifyListeners(new TransformEvent(overlay));

Investigate this method!

Change History

comment:1 Changed 13 years ago by sorber

notifyListeners(TransformEvent e) is a method of DataTransform. It passes the event e to transformChanged of all TransformListeners, which include the OverlayTransform, OverlayWidget, TransformLink, and others. The transform event may have one of three id values: DATA_CHANGED, FONT_CHANGED, DATA_REMOVED. Whether a transform listener responds to an event depends on the events id. To solve this problem, may need to:

  • set the id differently in OverlayTool subclasses,
  • use a new, different value for id
  • check the event source as well as the id in the transformChanged method.

comment:2 Changed 13 years ago by sorber

  • Owner changed from sorber to curtis

In addition, it would be nice to have a separate event type for zoom events (or possibly other changes to the projection matrix.) Administrator may wish to update title of this ticket to reflect the more general need for additional event types.

comment:3 Changed 13 years ago by curtis

  • Summary changed from Mouse events trigger unnecessary updates to GUI to Better data transform changed events
  • Description modified (diff)
  • Milestone set to visbio3.5

comment:4 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
  • Description modified (diff)
  • Severity set to serious
Note: See TracTickets for help on using tickets.