View Issue Details

IDProjectCategoryView StatusLast Update
0005849CaseTalk ModelerUser Interfacepublic2026-08-04 16:59
ReporterMarco Wobben Assigned To 
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version15.0Fixed in Version15.0 
Summary0005849: Diagram and model undo/redo behave as two rival histories
Description

Undo and redo in a diagram window behave inconsistently, and in several situations do something other than reversing the user's last action.

Observed:

  • After saving, the first element placed on a diagram cannot be undone. Pressing Undo silently reverses the last MODEL change instead of the placement just made.
  • Undoing a single model change makes the diagram forget all earlier model changes, after which Undo skips over diagram actions or stops responding.
  • Once any element has been placed or moved, Redo of a model change can no longer be reached from that diagram: the Redo command greys out even though the change is still redoable elsewhere.
  • Redo does not restore everything Undo removes. Re-adding an element that was undone loses its size and its automatic-size setting, and redoing a moved container or relation point does nothing at all.
  • With the split conceptual view enabled, Undo on a model tab reverses the text in the Notes tab instead.
  • Undo and Redo stay available on a read-only diagram and on a locked model.
  • Undoing the placement of an element does not update the model's own record of what the diagram contains, so the element can come back on reload.
  • A model change made in one diagram, or undone from another, is recorded a second time in the current diagram as if the user had placed or removed the element by hand. Undo then reverses the same element twice.

What is needed: the user should not experience any difference between undoing a diagram action and undoing a model change. Each diagram keeps its own sequence of element actions with the model changes woven into it. Undo in a diagram follows that sequence; when it reaches a model change, every diagram reflects it, while that diagram's own element actions stay where they are.

Separately: saving cleared the undo history, controlled by an option that was on by default. This is no longer wanted. A save is a checkpoint on disk, not the end of an editing session, so undo must remain available across it.

TagsNo tags attached.
CaseTalk EditionCorporate

Activities

Marco Wobben

Marco Wobben

2026-08-04 16:58

administrator   ~0008763

Undo and redo now behave as one history per diagram.

Each diagram keeps its own sequence of element actions with the model changes woven into it. Undo in a diagram follows that sequence. When it reaches a model change, the model is rolled back and every open diagram reflects it, while each diagram's own element actions stay exactly where they were. A model change that another diagram has already undone is simply stepped over, so undo never reverses something twice or reverses the wrong thing.

Changed for the user:

  • Undo always reverses the last thing done in that diagram, including immediately after a save.
  • Redo mirrors undo completely: a re-added element returns with its original position, size and automatic-size setting, and moved containers and relation points are restored.
  • Redo of a model change stays reachable from a diagram, no matter how many element actions were performed since.
  • Saving no longer clears the undo history, and the option that controlled this has been removed. A save is a checkpoint on disk, not the end of an editing session, so you can undo straight past it.
  • With the split conceptual view enabled, Undo now acts on the diagram, and the Notes text is only affected while the Notes tab itself is in front.
  • Undo and Redo are unavailable on a read-only diagram and while the model is locked, instead of appearing to work.
  • Undoing the placement of an element also updates the model's record of what the diagram contains, so it no longer reappears on reload.
  • Changes that come from the model, such as a synchronisation after someone else's edit, are no longer recorded as if you had placed or removed the element yourself.

Known limitation: if you undo a model change and then a change made elsewhere takes its place before you do anything in the diagram, that new change cannot be undone from this diagram. It remains undoable from the diagram where it was made and from the model views.

Issue History

Date Modified Username Field Change
2026-08-04 16:56 Marco Wobben New Issue
2026-08-04 16:58 Marco Wobben Note Added: 0008763
2026-08-04 16:59 Marco Wobben Status new => resolved
2026-08-04 16:59 Marco Wobben Resolution open => fixed
2026-08-04 16:59 Marco Wobben Fixed in Version => 15.0