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 472170 - Color Picker fails to pick reliably
Color Picker fails to pick reliably
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: High normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-31 10:15 UTC by Simon Budig
Modified: 2007-08-31 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Budig 2007-08-31 10:15: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.
Comment 1 Michael Natterer 2007-08-31 10:22:20 UTC
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.
Comment 2 Michael Natterer 2007-08-31 10:57:41 UTC
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.