Opened 7 years ago

Closed 7 years ago

#1571 closed defect (fixed)

Undo selection buggy

Reported by: Eric Pettersen Owned by: Conrad Huang
Priority: normal Milestone: 0.9
Component: Undo/Redo Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2018-12-21)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.9 (2018-12-21)  
How to cite UCSF ChimeraX  

> open 1gcn format mmCIF fromDatabase pdb

1gcn title:  
X-ray analysis of glucagon and its relationship to receptor binding [more
info...]  
  
Chain information for 1gcn #1  
---  
Chain | Description  
A | glucagon  
  
  

> select :12

9 atoms, 8 bonds selected  

> select sel @< 5

40 atoms, 38 bonds selected  

> select down

40 atoms, 38 bonds selected  

> undo




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine
OpenGL vendor: NVIDIA Corporation

Change History (3)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedUndo/Redo
Milestone: 0.9
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUndo selection buggy

Following the commands as given in the log (open 1gcn, select a residue, select a zone near the selection, select down, then undo) results in the entire molecule being selected.

comment:2 by Eric Pettersen, 7 years ago

Cc: Elaine Meng added

comment:3 by Conrad Huang, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 979d57d40.

Problem was that updating the selected attribute for Structure instances also updated the attribute for all its atoms and bonds. Now, when saving selected state for undo, the set_model_selected method is used instead.

Note: See TracTickets for help on using tickets.