Opened 6 years ago

Closed 6 years ago

#2473 closed defect (fixed)

"hide sel models" doesn't hide selected atomic model

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Core Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

if I open an atomic model #1 and show a 3D label on something, then

select #1 (which does show an outline on the label as well as everything
else), then choose “hide sel models” it hides only the label even though
the entire model #1 and all its submodels are selected.

Change History (4)

comment:1 by pett, 6 years ago

Owner: changed from pett to Tom Goddard
Priority: majormoderate

Only occurs if the label is part of the selection

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

The Model.clear_selection() method was not firing the SELECTION_CHANGED trigger.

comment:3 by Tom Goddard, 6 years ago

Resolution: fixed
Status: closedreopened

Oops. Closed the wrong ticket.

comment:4 by Tom Goddard, 6 years ago

Resolution: fixed
Status: reopenedclosed

Fixed.

Code to hide instances of models was causing this bug. It only hid instances or it hid whole models but not both. For peculiar reasons the label was treated as instances and the atomic structure as a model (not instances).

Note: See TracTickets for help on using tickets.