﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
504	Changing the .selected attribute of Drawing objects doesn't propagate to child drawings	tic20@…	Tom Goddard	"TL;DR: changing the .selected attribute of Drawing objects doesn't propagate to child drawings, breaking deselection functionality.


Longer version: in my most recent ISOLDE versions, starting it creates a Model called ""ISOLDE annotations"" in which I plan to add various Drawing objects for marking up specific structural features. The tree is currently three levels deep:
Level 0: The Model object registered with ISOLDE
Level 1: A Drawing object acting as a container for all the cis-peptide bond annotations
Level 2: The actual drawings (one per omega dihedral, each of which will only ever be updated/shown if its associated dihedral moves more than 30 degrees from trans)


At the moment it's just used to mark cis-peptide bonds (by drawing a simple pseudo-quadrilateral filling in the ""cup"" of the dihedral). When I do a selection by ctrl-click-and-drag in the main window these get selected like anything else, but they do not deselect either in response to further main-window mouse clicks or ""select clear"" in the command line interface. If d is the top-level Model holding the drawings, then:

d.selected = False

doesn't work, but:

for dr in d.all_drawings():
   dr.selected = False

does."	defect	closed	blocker		Core		not a bug						all	ChimeraX
