GNOME Bugzilla – Bug 346088
DoG plugin: preview not updating
Last modified: 2006-08-10 19:19:26 UTC
The preview of the Difference of Gaussians filter's effect is updated only if the two radius values are not linked by the chain. If you link both values together and change them, the preview is not updated. To update it, it is necessary to break the chain and change one of the values again.
The plug-in code looks correct at first sight. This might be a bug in GimpSizeEntry as found in libgimpwidgets.
This looks very much like bug #107633, which was supposedly fixed three years ago. I have verified that removing the g_signal_stop_emission_by_name (widget, "value-changed"); calls from gimp_coordinates_callback() makes the preview update properly. It is not clear to me that these calls actually do what they were intended to -- they date back to the original gimp_coordinates_foo code committed by mitch on 2000-02-01, in rev 1.11 of gimpwidgets.c.
The calls look wrong indeed. They are followed by calls to gimp_size_entry_set_refval(), but that only emits "refval-changed", not the "value-changed" signal that is being stopped here. I think we should remove the calls to g_signal_stop_emission_by_name() as Bill suggested.
Increasing priority because we should try to fix the widget behaviour early enough to ensure that this change gets enough testing before GIMP 2.4.
Okay, committed to HEAD. 2006-08-10 Bill Skaggs <weskaggs@primate.ucdavis.edu> * libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback): Don't stop emission of "value-changed" signal. Fixes bug #346088. Let's see if it breaks anything else...