Opened 8 months ago

Closed 5 months ago

#16868 closed defect (fixed)

AtomicShapeDrawing selection sometimes inaccurate

Reported by: pett Owned by: Greg Couch
Priority: moderate Milestone: 1.10
Component: Depiction Version:
Keywords: Cc: Tom Goddard, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description (last modified by pett)

If an AtomicShapeDrawing is added for selected atoms, the shape does not start out showing a selection outline.

Also, if selected with control click the drawing shows the selection, but then "hide sel" followed by "show sel" sometimes shows the selection on the atom but never on the depiction.

Change History (5)

comment:1 by pett, 8 months ago

Cc: Elaine Meng added
Description: modified (diff)
Summary: AtomicShapeDrawing initial selection inaccurateAtomicShapeDrawing selection sometimes inaccurate

comment:2 by pett, 8 months ago

Description: modified (diff)

Okay, it's even weirder than I thought initially. The scenarios mentioned never show the selection outline on the depiction, but sometimes on the atom. Whether you can see the depiction depends on the angle you are looking at the atom. As you rotate the scene around, the selection outline appears and disappears. These are on isolated solvent/ion atoms, so it isn't a matter of endcap depictions blocking the view of the outline.

comment:3 by pett, 8 months ago

The depiction does not have to have transparency for this to happen.

comment:4 by Tom Goddard, 8 months ago

The weirdness where you see the atom selection outline through the AtomicShapeDrawing is probably an intentional behavior described in ticket #1074 that I added to make selected atoms more visible even though the selection outline would normally be hidden by stick bonds. Basically the selection outline pokes through objects that are very slightly in front giving an X-ray effect. The appearance will vary as the scene is rotated. The problem in this ticket seems to be that the AtomicShapeDrawing is not getting a selection outline.

comment:5 by Greg Couch, 5 months ago

Resolution: fixed
Status: assignedclosed

Shapes added with selected atoms will start out selected

Note: See TracTickets for help on using tickets.