After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 472027 - Foreground extract color overlay not working with zoom<100%
Foreground extract color overlay not working with zoom<100%
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-30 21:49 UTC by B. Pedersen
Modified: 2007-08-31 10:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing the error. (170.45 KB, image/png)
2007-08-30 21:50 UTC, B. Pedersen
Details

Description B. Pedersen 2007-08-30 21:49:31 UTC
Please describe the problem:
If the zoom level is <100%, the color overlay is displayed in a very strange way. The extraction process itself is not affected. 

Steps to reproduce:
1. Start the foreground extract with a zoom <50%
2. draw the initial outline
3. 


Actual results:
You get a display as in the attached screen shot.

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 B. Pedersen 2007-08-30 21:50:26 UTC
Created attachment 94674 [details]
Screenshot showing the error.
Comment 2 Raphaël Quinet 2007-08-31 08:07:11 UTC
Indeed, the tool is not usable if you zoom out.  Using the tool produces hundreds of warning messages on the console:

Gimp-Display-WARNING **: bpp=1 not implemented as box filter

This comes from app/display/gimpdisplayshell-render.c, in the function box_filter().  I am not sure if the bug is in box_filter() or in the calling function render_image_...(), so I hope that Øyvind can fix that.
Comment 3 Øyvind Kolås (pippin) 2007-08-31 10:07:22 UTC
2007-08-31  Øyvind Kolås  <pippin@gimp.org>

        * app/display/gimpdisplayshell-render.c: (render_image_tile_fault):
        use nearest neighbour resampling when rendering for a 1byte per pixel
        drawable (ony happens when interacting with the SIOX tool, and then        the buffer is a indexed; not a greyscale buffer), fixes bug #472027.