Ticket #1167 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

New Image fails to appear

Reported by: gharris Owned by: curtis
Priority: critical Milestone: imagej2-b2-bugfixes
Component: Display API Version:
Severity: critical Keywords:
Cc: Blocked By:
Blocking:

Description

Looks as thought the AbstractImageDisplayViewer.view(...), where the event subscription occurs, is not called before the DisplayCreatedEvent is published. (I'm using Windows.)

Change History

comment:1 Changed 7 years ago by curtis

  • Status changed from new to assigned
  • Severity changed from serious to critical
  • Component changed from other to ij-display
  • Priority changed from major to critical
  • Milestone set to imagej-2.0.0-beta2
  • Owner set to curtis

Yep, there are still some problems with the headless display refactoring. I am working on it on the  fix-displays branch, which I hope to at least partially merge today, though not before I better understand certain mysterious behavior.

Intuitively, I do think DisplayCreatedEvent should be published first, and then the display viewer logic should pick up that event and create the DisplayViewer accordingly (which calls the view method). So the order of operations there isn't necessarily wrong... but there is definitely something funny about the chain of events somewhere.

comment:2 Changed 7 years ago by curtis

  • Status changed from assigned to accepted

comment:3 Changed 7 years ago by curtis

I believe this is fixed with the recent display fixes, particularly f307e6373b861f679f046ffbc2a8d37caccad718.

comment:4 Changed 7 years ago by curtis

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

comment:5 Changed 6 years ago by aivar

  • Blocked By 1812 added

comment:6 Changed 6 years ago by aivar

  • Blocked By 1812 removed
Note: See TracTickets for help on using tickets.