Ticket #1290 (closed defect: wontfix)

Opened 8 years ago

Last modified 5 years ago

First zoom operation has problems

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej-2.0.0
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #871, #1439


The first time a zoom operation is performed on the canvas of a new display, the behavior is erroneous.

For example, if you call Set Zoom on Boats with 500% zoom, and centered on (400, 400), the center will be wrong afterward. But if you call it a second time, all is well.

Similarly, if you open a dataset from disk and then zoom in or out, the panel will repack strangely the first time. But if you rezoom, the problem goes away.

Perhaps there is a one-time state flag screwing things up somewhere.

Change History

comment:1 Changed 8 years ago by curtis

  • Blocking 871 removed

(In #871) This bug is a side-effect of a more general bug: the first time a canvas zoom operation happens, it misbehaves. If you rerun the Set Zoom plugin a second time, the canvas is updated correctly. See #1290.

comment:2 Changed 8 years ago by curtis

  • Blocking 1326 added; 1185 removed
  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:3 Changed 8 years ago by curtis

  • Blocking 871 added

comment:4 Changed 8 years ago by curtis

  • Blocking 1439 added

comment:5 Changed 8 years ago by curtis

  • Blocking 1326 removed

comment:6 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0

comment:7 Changed 5 years ago by curtis

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

Closing as "good enough for now"—especially since the Swing UI is not the default right now anyway. This issue will probably rise again someday, after the Swing UI is in more use. But that UI may undergo substantial changes before that happens...

Note: See TracTickets for help on using tickets.