Krita may combine similar brush-stroke undo states when Cumulative Undo is enabled, so one Undo can remove a group rather than a single stroke. First decide whether your priority is to keep the newest strokes individually undoable or to undo a continuous passage as one unit. Then adjust the relevant settings under Settings > Configure Krita > General > Miscellaneous and verify the grouping on your own work; the settings influence grouping but do not promise a particular result for every sequence.
Choose a goal and adjust in order
Krita documents four Cumulative Undo controls: a minimum stroke age before merging can apply, a minimum number of strokes in history before merging starts, the largest pause between strokes that can still be treated as one group, and the maximum duration of a group. It also states that strokes made with different colors, brush presets, or blending modes are not merged together. See the Undo History documentation.
- If you need the newest several strokes to remain individually undoable, set Exclude last strokes from merge to the number you want protected. If you instead need a short recent time window protected, adjust Wait before merging strokes. These are separate controls; choose the one that matches how you work.
- If a passage should undo as a batch, consider increasing Max interval group strokes only when your pauses currently split the passage. This setting concerns the pause between strokes, not how many strokes the group contains.
- If a long passage breaks into multiple groups, inspect Max group duration. A group that reaches its maximum duration starts a new one, according to the manual.
- Change one setting at a time, then paint a short, disposable sequence and use Undo to observe the actual grouping. Record the result before adjusting another control.
For example, a concept artist may protect the latest five strokes while allowing an earlier uninterrupted shading passage to become one undo unit. That is a chosen target, not a guaranteed outcome: different colors, presets, or blending modes can separate strokes regardless of timing.
Record a 30-stroke acceptance sheet
The table below is a proposed experiment with hypothetical observations, not a promised Krita result. Use your own project’s common colors, presets, blending modes, and pauses. Give each stroke an ID, then after each Undo record the IDs visibly removed. Do not infer an undocumented count or grouping algorithm from the setting values.
| Hypothetical strokes | Gap and state | Hypothetical Undo observation | Decision to record |
|---|---|---|---|
| 1–6 | 1 second apart; same color, preset, mode | One Undo removes 5–6 | If single-stroke control matters, increase the protected recent-stroke count and repeat |
| 7–12 | 8-second pause after 9; same state | Undo removes 10–12 together | If the pause should not split a passage, test a larger maximum interval |
| 13–18 | 1 second apart; preset changes at 16 | Undo removes 16–18, then 13–15 | Record the preset change as a grouping boundary to check |
| 19–24 | Same state; passage lasts beyond your chosen duration | Two Undo actions remove separate portions | If one passage is the goal, test a longer maximum group duration |
| 25–30 | Same preset and mode; color changes at 28 | Undo separates 28–30 from 25–27 | Treat the color change as a boundary, not evidence that timing failed |
Limits and what to try next
Cumulative Undo controls the grouping of undo states in the current Krita session. It is not a durable command log, saved-version history, backup, or crash-recovery plan. The manual describes the settings and grouping conditions, but does not guarantee that a selected value will produce an exact stroke count or grouping in every painting sequence.
If the observations do not match your goal, first confirm which setting you changed and repeat the same short sequence while keeping color, preset, blending mode, and pauses consistent. If those states differ, run a separate comparison rather than attributing the result to timing alone. The Undo History docker can also move between undo states; it does not turn a grouped state into individual strokes.
Three quick questions
Why did changing colors split my undo group? Krita says strokes using different colors are not merged together.
Which control protects my newest strokes? Use the stroke-count control for a number of recent strokes, or the age control for a recent time window.
Does this preserve undo after reopening the document? This feature concerns session undo grouping; the cited documentation does not describe it as persistent history after reopening.
Sources and next step
This guide interprets public documentation and uses explicitly hypothetical acceptance examples, not application tests. Controls and availability can change; verify the cited manual against your installed version.
For work created in Imagild, carry the input requirements and acceptance checklist into the photo editor. The external software controls discussed above belong to their respective products.