Ticket #745 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

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(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 8 years ago 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.

Note: See TracTickets for help on using tickets.