The following bug report has been submitted:
Platform: Darwin-19.2.0-x86_64-i386-64bit
ChimeraX Version: 0.92 (2020-01-22)
Description
If I hit the return key after clicking into the model panel my command (which is slow, takes 0.8 seconds to execute) gets executed 3 times (I see 3 models created instead of 1). If I click in the command-line and press Enter the command executes just once.
Log:
UCSF ChimeraX version: 0.92 (2020-01-22)
© 2016-2020 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> open /Users/goddard/ucsf/data/layer4/segmentation-volume/seg442.cmap
Opened seg442.cmap, grid size 1374,2108,1653, pixel 45,45,56, shown at step 1,
values uint32
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 3.654 seconds
draw time 0.1107 seconds
> close #2
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 0.8206 seconds
draw time 0.09183 seconds
> close #2
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 0.8152 seconds
draw time 0.09642 seconds
> close #2
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 0.8076 seconds
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 0.8036 seconds
> time seg surf #1 where neuron_id=1 step 2
> segmentation surfaces #1 where neuron_id=1 step 2
Created 1 segmentation surfaces, 2418124 triangles, subsampled 2
command time 0.8214 seconds
draw time 1.898 seconds
draw time 1.089 seconds
draw time 0.2621 seconds
> hide #4 models
> hide #3 models
> hide #2 models
OpenGL version: 4.1 ATI-3.4.19
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.
The main UI and tools were forwarding the same keystrokes to the command line