Opened 7 years ago

Closed 7 years ago

#1222 closed defect (fixed)

making window small after show/hide Side View makes molecule black

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

Description

This is bizarre.... apparently it is necessary to show and then close the Side View to get this problem, and then specify a small window size. Molecule turns completely black, which may be invisible if the background is black, and I can't figure out any way to turn it back to its previous coloration. Rotating molecule and resizing window don't do it. Image attached.

Recipe: start ChimeraX, open anything, optionally change to non-back background,

tool show Side
(click X to hide Side View)
windowsize 200 200

... molecule is flat black. I'm using the current daily build.

UCSF ChimeraX version: 0.7 (2018-08-01)
OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine

Attachments (1)

Screen Shot 2018-08-02 at 11.29.00 AM.png (141.9 KB ) - added by Elaine Meng 7 years ago.

Download all attachments as: .zip

Change History (3)

by Elaine Meng, 7 years ago

comment:1 by Tom Goddard, 7 years ago

For me it doesn't require resizing the window. Simply open 1a0m, show and close side view, and rotate makes the molecule black. Must be that closing side view deletes some opengl resource. I will look into it.

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

I changed the opengl lighting implementation about 4 weeks ago causing this bug. Side view and the main view have different lighting and when side view is closed it deletes its opengl lighting buffer, but then the main view never made its lighting buffer active again.

Note: See TracTickets for help on using tickets.