Ticket #1138 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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 7 years ago 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 7 years ago by curtis

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

comment:3 Changed 7 years ago by curtis

  • Blocking 1242 added

comment:4 Changed 7 years ago 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.

Note: See TracTickets for help on using tickets.