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 #1142 (closed defect: fixed)

Opened 2012-04-27T12:44:01-05:00

Last modified 2012-05-17T14:05:03-05:00

Sometimes images display with zero height

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: Display API Version:
Severity: serious Keywords:
Cc: curtis Blocked By:
Blocking:

Description (last modified by bdezonia)

Use File Open (or Help::About)
Open either of the /about images about1.tif or about3.tif
Image shows up with 0 height

I am testing this on Linux using my laptop (smaller screen size)

I have debugged and it is calculating an initial scale of 75% so that part of the code looks correct. But JHotDrawImagecanvas::getPrerredSize() is returning a size of 4x4.

Change History

comment:1 Changed 2012-04-27T13:06:04-05:00 by bdezonia

  • Description modified

comment:2 Changed 2012-04-27T13:07:36-05:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Status changed from new to assigned

This looks related to the recent display class hierarchy refactoring

comment:3 Changed 2012-04-27T13:34:55-05:00 by bdezonia

  • Component changed from other to ij-display

comment:4 Changed 2012-05-03T11:46:39-05:00 by bdezonia

Also happens loading particles or tree rings

comment:5 Changed 2012-05-17T14:05:03-05:00 by bdezonia

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

This appears to be fixed by the merge of fix-displays