------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'm not writing about a tool available only in some unstable development or future release of Gimp , but of feature already available in any recent stable version of gimp ...
But , please don't waste your time to search it in the toolbox or in some menu...you would find nothing alike because is well hidden
We can even state from a very theoretical , almost philosophical point of view that something as a “undo” or “history brush” in gimp doesn't exist or at least don't exist yet..(see NOTE 1)
But will be pointless worry about the theoretical existence of the history brush , since in practice in the real word it it works very well and could be activated with only 2 click even if it has not its own icon
So... what is a "history brush" and why we could need one? what we can do with it?
HISTORY BRUSH
In Gimp a layer could be at same time invisible and active and in this case could happen that some mistake is done and unnoticed till too late
With the “undo” function we can revert the image to any previous state...but in this way we will lose all the work done after that point.
“undo” will revert the whole image...to revert only a selected part or to be more exactly to stroke the “undo” in a customer chosen area we need a different tool: a “undo” or “history” brush
in other words the “undo (or history) brush could “paint” and merge previous version of the image on a user chosen area ...
The only limit of the “Undo” and of the “Undo (or History) Brush is that need a “image history” to use, so they could not work if the image was closed (Till now there is not option to save the history of the image within the image file )
The UNDO ( or HISTORY ) brush work in a similar way to the "Undo". but instead then on the whole image its effect could be applied on chosen area ,with brush strokes
[NOTE] link about "Undo" and "Undo history"
http://docs.gimp.org...cepts-undo.htmlhttp://docs.gimp.org...ndo-dialog.html
http://docs.gimp.org...do-history.html[/NOTE]
CLICK 1: GETTING READY
The basic trick is simple: duplicate the image and work on the duplicate
DON'T close the original...it can be minimized but it must stay open
To make a duplicate we can use “Ctrl+D “shortkey ,or, with the mouse click on : image_menu\image\“duplicate image”

Now to avoid mistakes and misunderstanding we should better rename the original “ORIGINAL_image-source” and the duplicate “ Canvas”
Again DON' T close original ...the duplicate can't duplicate the image "history" but only its present state...if you close the original will be lost the history and with the "history" any chance to use a "history brush"
So now we are ready to use the Gimp History brush at soon we will find its hiding place
CLICK 2 HOW TO LOCATE AND USE THE GIMP HISTORY (UNDO) GIMP BRUSH
The Gimp History Brush is very well hidden in usually overlooked but quite useful setting of the clone tool

So focus on the duplicate (what we called "Canvas") and from and then hit the “C” key (or with the mouse click the clone icon in the toolbox) to open the CLONE Tool setting
. .and then chose those options
.

[NOTE] Please note the setting :
1 SOURCE : Image Source
2 ALLIGNEMENT: Registered [/NOTE]
This setting are the history (undo ) brush
Or, to be correct , with this setting the clone tool could will work exactly as a History brush
to activate you need to hit “okay” and this is the end of “CLICK 2”
CLICK 3: USE THE “HISTORY BRUSH”
Now to chose the right spot as source image go on the original image (the one we called :“Original_image-source”) , and open its "undo history" dialog (as example from "image menu\edit\undo history)

In this way you can chose the best source(s) for the clone tool and use them to retouch the duplicate (the “canvas” image)
You can chose any transparence/opacity setting for the brush and any brush you like
( but something as a round or polygonal brush, resizable on the fly in size, shape and feathering ,is for me the best brush for the task...about use of resizable brush see
http://www.gimptalk....t=13194&start=1 )
[NOTE]you can even chose a merging mode different then “normal” (as example merging mode as“ligthen only” “darken only” “screen” and “overlay” could be quite useful for retouching...)[/NOTE]
Once done You may import the corrected edited layer(s) back on the original (no need to import all others layers that were not edited) and close the duplicate,
continue to work on the original
and in case of need ,to use again the history brush create a new dup
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NOTE 1
there was a discussion over to implement a proper "history brush http://bugzilla.gnom...ug.cgi?id=74554 but at the end was planned to add first a even more useful features "edit\fade" that should be available in gimp 2.4 ).
NOTE 2
The same setting of the clone tool could be used to “apply filters or effect with brush_stoke" as explained here
http://www.gimptalk....es-14120-1.html
NOTE 3
I was checking the links...
And while i was browsing the very latest Gimp Help .... at the very bottom of the page on the Clone Tool i found a very similar suggestions as you can see here:
[url]http://docs.gimp.org...-tool-clone.htm
This is not surprising till the most useful tips ,even about the most hidden and\or overlooked Gimp features could be found on the Gimp Help, that is the best book never written on Gimp and is available even online
(you can also download a PDF version and print it...)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Help


















