NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #828 (closed defect: fixed)

Opened 2011-10-17T12:49:15-05:00

Last modified 2011-11-21T14:15:12-06:00

Streamline the updating of displays

Reported by: bdezonia Owned by: curtis
Priority: blocker Milestone: imagej2-b1-initial
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Thoce existing display update architecture is complex. There is reliance on redoLayout() in some places and update() in others. As working this results in some race condition display bugs.

We should eliminate the complexity of the display update() mechanism such that we can get rid of redoLayout(). The update() method can decide exactly what needs updating. API users make all the changes they want and then finally call update().

Change History

comment:1 Changed 2011-10-17T12:58:40-05:00 by bdezonia

Some tickets that may be related:

comment:2 Changed 2011-11-01T10:30:13-05:00 by curtis

  • Status changed from new to accepted

comment:3 Changed 2011-11-21T14:15:12-06:00 by curtis

  • Status changed from accepted to closed
  • Resolution set to fixed

(In [4446]) Refactor away ImageDisplay.redoWindowLayout method

The method still exists internally as rebuild() but is called
automatically as needed from update() instead.

This closes #828.