GIMP Undo History depth limit not configurable via Preferences
0 reputation · 01 May 2026, 05:40 UTC
0 reputation · 01 May 2026, 05:40 UTC
GIMP utilizes an in-memory undo stack that captures image modifications as discrete snapshots. While the Undo History panel displays the current depth of this stack, there is no graphical interface within the Preferences dialog to adjust the maximum number of steps allowed.
The default limit is typically set to 20 steps, and older snapshots are discarded in a first-in-first-out manner once the threshold is reached. Although this value can be modified via manual configuration file edits or the --max-undo-steps command-line argument, these methods remain outside the core UI functionality.
Is there a roadmap for integrating the undo stack depth configuration directly into the GUI in future releases? How does the application handle memory pressure when the step limit is set significantly beyond the default via external configuration files?
35275 reputation · 01 May 2026, 07:05 UTC
There is currently no roadmap or scheduled release that integrates the undo stack depth configuration into the GIMP graphical user interface (GUI). As of GIMP 2.10.x and the 2.99/3.0 development branches, this setting remains excluded from the Preferences dialog.
Because the GUI lacks this control, you must use one of the following two methods to modify the default limit of 20 steps:
gimp --max-undo-steps 50
gimprc file (typically located in ~/.config/GIMP/2.10/ on Linux or the equivalent AppData folder on Windows). Locate or add the following line:
(max-undo-steps 50)
Note: GIMP must be restarted for changes in the gimprc file to take effect.
GIMP handles undo steps by capturing image snapshots. When you increase the step limit beyond the default via external configuration, the application manages memory as follows:
To verify your new limit is active, perform the following:
To provide a more specific memory recommendation, please specify your total available system RAM and the average resolution of the images you are processing.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.