pemsley / coot

Software for macromolecular model-building
http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/
GNU General Public License v3.0
121 stars 47 forks source link

Incomplete Cancel Causes Crash. #160

Open TristynAlxander opened 2 months ago

TristynAlxander commented 2 months ago

Coot version 0.9.8.7.

Reproducing Error: Open Coot. Open a pdb. Go to a residue. Using the mouse, click "Change Residue's Phi and Phi", click the residue (I'm using the C on a serine, but I don't think it matters), click cancel. If you press the escape key here, there will be no crash. Next, click "regularize zone". Crash occurs before second click is complete. I have not checked if this behavior occurs in other functions.

Expected Behavior: Cancel button is expected to fully cancel any running function, as if I had also pressed the escape key.

pemsley commented 2 months ago

Thanks. I can reproduce this problem. I think that I should be able to fix the crash. This code is not used in the 1.x series.