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

Opened 2012-04-25T10:46:18-05:00

Last modified 2012-07-12T10:37:14-05:00

Crop leaves old image in window

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

Description

Recently display refactoring was done shortly before the release of beta2. After those changes crop does not behave well. It does not resize the window (this may be another bug though, #1101). And it leaves part of the original image in the window too (new behavior).

Note that code inspection shows that DatasetRestructuredEvents are no longer handled by anyone.

Change History

comment:1 Changed 2012-04-25T13:20:19-05:00 by curtis

DataRestructuredEvent, which is a superclass of DatasetRestructuredEvent, is handled in DefaultImageDisplay. So that is not the issue.

Rather, it seems like a simple repainting issue, since the old image disappears when you force a repaint (such as by resizing the window).

comment:2 Changed 2012-04-26T13:25:01-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta2 to imagej-2.0.0-beta3

comment:3 Changed 2012-06-25T15:06:38-05:00 by curtis

  • Blocking 1242 added

comment:4 Changed 2012-07-12T10:37:14-05:00 by curtis

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

I cannot duplicate this problem anymore. Probably fixed due to the fix-zoom branch merger.