GNOME Bugzilla – Bug 472170
Color Picker fails to pick reliably
Last modified: 2007-08-31 10:57:41 UTC
Sometimes the Color picker picks old data. To reproduce: 1. Open an image 2. activate color picker 3. pick some colors (works properly) 4. select e.g. a plugin or colors->invert 5. pick colors again, you get the same picks as in step 3. If you omit step 3, picking in step 5 will work properly.
Or just pick from another tile to make it work again. The problem is tile_manager->cached_tile used by read_pixel_data_1(). It doesn't get ditched when the tile changes so the currently cached tile still has the old pixels. Raising priority since this is a bug in our low-level infrastructure.
Fixed in SVN: 2007-08-31 Michael Natterer <mitch@gimp.org> * app/base/tile-manager.c (tile_manager_get): if tile_manager->cached_tile is requested for writing, clear the cache before giving out the tile. Fixes bug #472170.