CellProfiler/CellProfiler — Issue #296: Zoomed image viewer, vertical panning issue
Author: BioTurboNick
Created: 2012-02-29 07:10:13+00:00
State: open

In the image viewer, zoom in even a bit--just enough so that both the right and left borders of the image are beyond the visible portion. Now pan the image until you reach the top or bottom of the image. When you start to pan vertically past the border, whitespace begins to appear on the opposite side that you would expect, with the image fixed in place.

To more fully explain: When the zoomed image is panned until its upper border exactly at the top of the viewer window, all is fine. If you then attempt to pan the zoomed image by, say, 5 pixels beyond the border, 5 pixels of whitespace appear at the *bottom* of the viewer window, covering up the bottom portion of the image, while the top border of the image stays locked to the top of the viewer window.

The expected behavior would be for the image to move 5 pixels downward, with 5 pixels of whitespace appearing above it.

The opposite happens when you try to pan past the bottom border. The left and right borders are unaffected.