GNOME Bugzilla – Bug 479807
150% Zoom shows checkerbox (transparency) pattern
Last modified: 2008-10-30 19:59:07 UTC
Please describe the problem: When I use 150% zoom, the image I'm viewing disappears and shows only a checkerbox (transparency) pattern. Going to 200% brings the image back. I tried with several images with the same result. I went back to RC2 and the problem was gone. Steps to reproduce: 1. Open a large JPG 2. Use Zoom + or map mouse wheel to zoom in/out 3. Zoom to 150% Actual results: As described above Expected results: The image should zoom to 150% Does this happen every time? Yes, at least with the jpg's I opened Other information:
I cannot reproduce this behavior. How large exactly are the images that you tried?
I can reproduce this with a 3200x2400 image. Eeek. A 3165x2374 image is not affected, a 3166x2375 image is affected. 3166x2374 shows horizontal artefacts. This almost certainly is caused by one of my fixes to bug #474509.
(In reply to comment #1) > I cannot reproduce this behavior. How large exactly are the images that you > tried? > 3264x2448 or thereabout. It's the size I usually use for my pics.
This is caused by my change to box_filter in gimpdisplayshell-render.c. The footprint in x- and y direction depend on the image size now and get too big for this function. Some creative shifting around is needed when determining the footprint.
Created attachment 96129 [details] [review] Patch to fix the numerical overflow in box_filter() This is a patch that shifts the footprint of a pixel into an acceptable working range. It seems to fix the problem for me.
*** Bug 480598 has been marked as a duplicate of this bug. ***
Fixed in SVN: 2007-09-26 Simon Budig <simon@gimp.org> * app/display/gimpdisplayshell-render.c: fix the numerical overflow for the new box-filtering stuff. Fixes bug #479807.
*** Bug 484671 has been marked as a duplicate of this bug. ***
*** Bug 485346 has been marked as a duplicate of this bug. ***