GNOME Bugzilla – Bug 169830
Panes do not know their zoom factor
Last modified: 2005-03-14 04:29:42 UTC
New gnumeric. Zoom to 200% Cursor to C4. Freeze panes. Drag an image from nautilus onto gnumeric, and drop it at B2. The parts of the image in panes top left, top right and bottom left are rendered at 100%. the part in bottom right pane is rendered (correctly) at 200%, but believes that the left edget of the image is in col D. I looked into this, and noticed that FooCanvas->pixels_per_unit was 2 for the bottom right pane, but 1 for the others, so that foo_canvas_c2w gives an incorrect result. Shouldn't pixels_per_unit be equal to the zoom factor for all 4 panes?
fixed. I wasn't bothering to init the zoom when a canvas was created, only when zoom changed.