Opened 6 years ago

Closed 5 years ago

#3037 closed defect (can't reproduce)

Selection problems

Reported by: shiran.barber-zucker@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.93 (2020-04-03)
Description
Dear developers,
I have two issues:

1) When selecting an atom with mouse +ctrl, the atom is not marked as selected with green outline.

2) I am unable to select multiple items with ctrl+shift+mouse, it's just not doing anything.

I'm running MacOS Catalina 10.15.4

Thanks for your assitance,
Shiran

Log:
UCSF ChimeraX version: 0.93 (2020-04-03)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 3w5x format mmCIF fromDatabase pdb

3w5x title:  
MamM-CTD [more info...]  
  
Chain information for 3w5x #1  
---  
Chain | Description  
A | Magnetosome protein MamM  
  
Non-standard residues in 3w5x #1  
---  
SO4 — sulfate ion  
  
3w5x mmCIF Assemblies  
---  
1| author_and_software_defined_assembly  
  
  

> select /A:220@NH1

1 atom, 1 model selected  

> select /A:401@O4

1 atom, 1 model selected  

> select /A:520@O

1 atom, 1 model selected  

> select /A:220@NH2

1 atom, 1 model selected  




OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro 5300M OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSelection problems

comment:2 by Tom Goddard, 6 years ago

I can see from the log that ChimeraX does select the atoms that you click on. So it appears that the problem is that the graphics does not draw the green outline. I tried in the same version of ChimeraX on a MacBook Pro with Vega 20 graphics (2019) and the selection outlines to appear. Your graphics is Radeon Pro 5300M from a late 2019 model MacBook Pro.

To test if this theory that the graphics is the problem is right can you type the command "select #1" and see if the green outline appears around the molecule?

I see in the ChimeraX code that the Vega 20 graphics also had problems drawing selection outlines described in ChimeraX bug report #2216. Some code to work around this bug was put into ChimeraX for AMD Radeon Pro Vega graphics. Possibly your graphics has the same problem. To test if your graphics has the same problem try ChimeraX command

graphics quality colordepth 16

and see if selection outlines then work. This command causes offscreen rendering which is then copied to the window, instead of directly rendering to the window. If this fixes the issue I can put a test in the ChimeraX code to enable offscreen rendering when it detects your graphics card.

comment:3 by Tom Goddard, 5 years ago

Resolution: can't reproduce
Status: assignedclosed

Could be that the default framebuffer depth was not 24 as assumed by the silhouette drawing code. I put in a fix for that that uses offscreen rendering if the depth is not 24 that may fix the problem. But it also could be that the depth is 24 (it is for Vega 24 graphics) and instead it is a Mac OpenGL driver bug and specific test for the Radeon Pro 5300M graphics would be needed to work around the problem. I don't have a Mac with that graphics to test on. No response from reporter.

Note: See TracTickets for help on using tickets.