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

Opened 2011-09-06T13:02:01-05:00

Last modified 2011-10-12T14:40:28-05:00

Display issues with rotate and crop

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


If you rotate an image there is extra whitespace in the display.

If you crop an image there is also white space. But the selection overlay is displayed where it was rather than going away. And an exception is generated.

Caused by: java.util.ConcurrentModificationException

at java.util.LinkedList$ListItr.checkForComodification(
at java.util.LinkedList$
at org.jhotdraw.draw.DefaultDrawingView.invalidateHandles(
at org.jhotdraw.draw.DefaultDrawingView.setScaleFactor(
at imagej.ui.swing.display.JHotDrawImageCanvas.syncZoom(
at imagej.ui.swing.display.JHotDrawImageCanvas.setZoom(
at imagej.display.CanvasHelper.setZoom(
at imagej.ui.swing.display.JHotDrawImageCanvas.setZoom(
at imagej.ui.swing.sdi.display.SwingImageDisplay$3.onEvent(
at imagej.ui.swing.sdi.display.SwingImageDisplay$3.onEvent(
at org.bushe.swing.event.ThreadSafeEventService.publish(
... 16 more

Change History

comment:1 Changed 2011-10-12T14:40:28-05:00 by bdezonia

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

The extra whitespace is no longer happening with rotate.

Crop exception is gone.

Other crop issues laid out in ticket #818.

Considering this ticket closed.