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 323404 - brush preview only updates on cursor movement
brush preview only updates on cursor movement
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal minor
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-12-06 21:27 UTC by Jakub Steiner
Modified: 2006-05-06 21:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jakub Steiner 2005-12-06 21:27:42 UTC
Please describe the problem:
When using an external device to change brush (next/previous brush action), the
brush outline on the canvas is only updated when the cursor moves. If the cursor
remains on place, the outline doesn't change

Steps to reproduce:
1. bind a next brush action to some event such as the mouse scrollwheel
2. trigger the event while keeping the mouse static. 
3. trigger the event while moving the mouse.


Actual results:
at step 2, the bursh outline on the canvas remains the same
at step 3. it changes as it should

Expected results:
The user should get a nice feedback on the canvas that a brush changed.

Does this happen every time?
yes

Other information:
A demonstration is available at
http://jimmac.musichall.cz/demos/gimp/onlyupdatesonmovement.avi
Comment 1 Michael Natterer 2006-01-10 19:33:13 UTC
Heh, strange enough, changing the same brush (e.g. its radius) works
nicely, just switching between brushes doesn't get to the paint tool
until you move the mouse. Will look into that.
Comment 2 Michael Natterer 2006-05-06 21:11:14 UTC
Fixed in CVS:

2006-05-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c: connect to the context's
	"brush-changed" signal and update the brush core's brush
	accordingly. Fixes inconsistent brush preview when not moving
	the mouse while the brush changes (bug #323404).