Ticket #871 (assigned defect)

Opened 8 years ago

Last modified 7 years ago

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 8 years ago by bdezonia

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

comment:2 Changed 7 years ago by curtis

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

comment:3 Changed 7 years ago by curtis

  • Blocking 1185 added

comment:4 Changed 7 years ago by curtis

  • Blocked By 1290 added

comment:5 Changed 7 years ago 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 7 years ago by curtis

  • Blocked By 1290 added

comment:7 Changed 7 years ago by curtis

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

comment:8 Changed 7 years ago by curtis

  • Blocking 1439 added

comment:9 Changed 7 years ago by curtis

  • Blocking 1326 removed

comment:10 Changed 7 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0
Note: See TracTickets for help on using tickets.