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:
Blocking:

Description

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(LinkedList.java:761)
at java.util.LinkedList$ListItr.next(LinkedList.java:696)
at org.jhotdraw.draw.DefaultDrawingView.invalidateHandles(DefaultDrawingView.java:966)
at org.jhotdraw.draw.DefaultDrawingView.setScaleFactor(DefaultDrawingView.java:1324)
at imagej.ui.swing.display.JHotDrawImageCanvas.syncZoom(JHotDrawImageCanvas.java:463)
at imagej.ui.swing.display.JHotDrawImageCanvas.setZoom(JHotDrawImageCanvas.java:400)
at imagej.display.CanvasHelper.setZoom(CanvasHelper.java:122)
at imagej.ui.swing.display.JHotDrawImageCanvas.setZoom(JHotDrawImageCanvas.java:394)
at imagej.ui.swing.sdi.display.SwingImageDisplay$3.onEvent(SwingImageDisplay.java:225)
at imagej.ui.swing.sdi.display.SwingImageDisplay$3.onEvent(SwingImageDisplay.java:1)
at org.bushe.swing.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:971)
... 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.