Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2770 closed defect (fixed)

Return from Model Panel executes command three times(!)

Reported by: goddard@… Owned by: pett
Priority: normal Milestone:
Component: Command Line Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

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.

Change History (3)

comment:1 by pett, 6 years ago

Component: UnassignedCommand Line
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionReturn from Model Panel executes command three times(!)

comment:2 by pett, 6 years ago

Resolution: fixed
Status: acceptedclosed

The main UI and tools were forwarding the same keystrokes to the command line

in reply to:  3 ; comment:3 by goddard@…, 6 years ago

Beautiful!  Fixes my test case.

Note: See TracTickets for help on using tickets.