GNOME Bugzilla – Bug 134671
`Zoom to Fit' needlessly scales down image
Last modified: 2004-12-22 21:47:04 UTC
Having a screen resolution of 1280 x 960 pixels, I noticed that images of 1280 x 960 pixels in size, needlessly scale down to just below 100% in `Zoom to Fit' mode. I verified that the same happens with a screen resolution of 1024 x 768 pixels (and an image of that size). Version: 2.2.1
I've also noticed this bug for quite some time. This is really only an issue for fullscreen mode, and specifically the problem is that the image is not spanning the full screen resolution, but rather there is a 1 pixel border around all edges. The problem is in libgthumb/image-viewer.[ch] where FRAME_BORDER/FRAME_BORDER2 is used. Setting these constants to 0 fixes this problem, although it also removes the 1 pixel border around the image when not in fullscreen mode. I'm not sure what other ramifications setting these values to 0 has, but if this is the only one, I'd prefer correctness to this minor cosmetic issue. I suppose the correct behaviour would be to assume FRAME_BORDER=0 only when in fullscreen mode.
this is fixed now.