Opened 5 years ago

Closed 5 years ago

#4080 closed defect (fixed)

drag-select rectangle invisible on gray background

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Graphics Version:
Keywords: Cc: Helge.Paternoga@…
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The drag-select rectangle shows as a green line against black background (or other dark background colors, e.g. blue), reddish line against white background (or other light background colors, e.g. khaki) but is completely invisible against gray background. I still see the red line where the rectangle crosses objects like ribbon, but not against the background.

Tested in UCSF ChimeraX version: 1.2.dev202012200532 (2020-12-20)

Change History (1)

comment:1 by Tom Goddard, 5 years ago

Cc: Helge.Paternoga@… added
Resolution: fixed
Status: assignedclosed

Fixed.

Made the selection drag box always green against any background color. Where the box lines overlap a model the color will vary because the outline xors some color bits so that drawing it twice restores the original colors. This avoids having to redraw the entire scene as the box is dragged which can suffer from slow updating if the models render slowly.

Note: See TracTickets for help on using tickets.