Ticket #828 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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 8 years ago by bdezonia

Some tickets that may be related:

comment:2 Changed 8 years ago by curtis

  • Status changed from new to accepted

comment:3 Changed 8 years ago 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.

Note: See TracTickets for help on using tickets.