﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1161	undo traceback	Greg Couch	Conrad Huang	"Reproduce with:
{{{
open 1gcn
show
split atoms :1-12 atoms :13-24
undo
}}}

The traceback is:
{{{
Traceback (most recent call last):
  File ""/home/chimera/chimerax_daily/lib/python3.6/site-packages/chimerax/core/undo.py"", line 149, in undo
    inst.undo()
  File ""/home/chimera/chimerax_daily/lib/python3.6/site-packages/chimerax/core/undo.py"", line 342, in undo
    self._consistency_check()
  File ""/home/chimera/chimerax_daily/lib/python3.6/site-packages/chimerax/core/undo.py"", line 369, in _consistency_check
    (owner_length, value_length))
ValueError: undo action with different number of owners and old values: 0 != 246
}}}

Discussion:

Putting the logic in the split command to clear the undo stack would work, but there are probably lots of unknown places where that would need to be done.  Instead, this should be a ""UserError"" -- ideally with the word 'atoms' instead of 'owners'."	defect	closed	blocker		Undo/Redo		fixed		Tom Goddard				all	ChimeraX
