SMD - selection persists when atoms are gone

Started by LociOiling

LociOiling Lv 1

In ligand design mode, atom selection persist when undo changes the structure.

Here are the steps to reproduce:

  1. Add something, such as benzene ring
  2. Select a newly added atom or atoms
  3. control-z to undo

The selection halos remain even thought the atoms are gone. You can select additional atoms, although sometimes this deselects one or more of the virtual atoms. Clicking on the leftover halos or using clear selection tool can clear this up while still in ligand design mode.

[img_assist nid=2005223 title= desc= link=node align=left width=200 height=135]
[img_assist nid=2005224 title= desc= link=node align=left width=200 height=135]
[img_assist nid=2005225 title= desc= link=node align=left width=200 height=135]

In one case, I had a crash just after this happened:

UNHANDLED EXCEPTION
1: library_main +5432631 bytes (no line)
2: library_main +5430669 bytes (no line)
3: library_main +5443099 bytes (no line)
4: library_main +5441686 bytes (no line)
5: library_main +4202415 bytes (no line)
6: library_main +3631686 bytes (no line)
7: library_main +3426042 bytes (no line)
8: library_main +5163307 bytes (no line)
9: library_main +371112 bytes (no line)
10: library_main +3425308 bytes (no line)
11: library_main +5168227 bytes (no line)
12: library_main +5158143 bytes (no line)
13: AddClipboardFormatListener +75 bytes (no line)
14: EndTask +33897 bytes (no line)
15: EndTask +44389 bytes (no line)
16: EndTask +32602 bytes (no line)
17: CallWindowProcW +27 bytes (no line)
18: glDebugEntry +3651 bytes (no line)
19: AddClipboardFormatListener +75 bytes (no line)
20: EndTask +33897 bytes (no line)
21: EndTask +44389 bytes (no line)
22: DispatchMessageW +1228 bytes (no line)
23: DispatchMessageA +16 bytes (no line)
24: library_main +5166565 bytes (no line)
25: library_main +3182521 bytes (no line)
26: library_main +13065 bytes (no line)
27: library_main +21 bytes (no line)
28: no symbol (no line)
29: no symbol (no line)
30: no symbol (no line)
31: BaseThreadInitThunk +36 bytes (no line)
32: RtlGetAppContainerNamedObjectPath +311 bytes (no line)
33: RtlGetAppContainerNamedObjectPath +263 bytes (no line)