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 #871 (assigned defect)

Opened 2011-11-15T12:50:15-06:00

Last modified 2012-08-27T14:45:06-05:00

Image > Zoom > Set... plugin does not always pan over center

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

Description

Open boats. Use the Image > Zoom > Set... plugin. Choose center 400,400 @ 500%. Image zooms in 500% put panned to upper left corner. Trace in with debugger however and see the pan code is invoked (JHotDrawImageCanvas::syncPan()) and actually works when things are slowed down. Perhaps this is another issue with the timing of display events. (Also note that the ImageCanvas' canvasHelper generates a zoom event before the canvas actually does any zooming - could that be a problem?)

Change History

comment:1 Changed 2011-11-15T12:56:09-06:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Status changed from new to assigned

comment:2 Changed 2012-02-27T11:00:59-06:00 by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:3 Changed 2012-05-17T13:52:43-05:00 by curtis

  • Blocking 1185 added

comment:4 Changed 2012-07-05T15:59:06-05:00 by curtis

  • Blocked By 1290 added

comment:5 Changed 2012-07-05T16:46:29-05:00 by curtis

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:6 Changed 2012-07-12T10:51:47-05:00 by curtis

  • Blocked By 1290 added

comment:7 Changed 2012-07-12T10:52:38-05:00 by curtis

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

comment:8 Changed 2012-08-27T14:43:58-05:00 by curtis

  • Blocking 1439 added

comment:9 Changed 2012-08-27T14:44:14-05:00 by curtis

  • Blocking 1326 removed

comment:10 Changed 2012-08-27T14:45:06-05:00 by curtis

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