Opened 6 years ago

Closed 6 years ago

#2848 closed defect (fixed)

Cascaded menus broken in VR

Reported by: goddard@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: VR Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.92 (2020-02-13)
Description
Cascaded menus like Select / Residues / ARG do not work in VR.  It appears to pick an item from the first menu pane when the second pane is clicked.

Log:
UCSF ChimeraX version: 0.92 (2020-02-13)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 6pt2 format mmCIF fromDatabase pdb

6pt2 title:  
Crystal structure of the active δ opioid receptor in complex with the peptide
agonist KGCHM07 [more info...]  
  
Chain information for 6pt2 #1  
---  
Chain | Description  
A B | δ opioid receptor  
C D | Peptide agonist KGCHM07  
  
Non-standard residues in 6pt2 #1  
---  
CLR — cholesterol  
OLA — oleic acid  
OLC — (2R)-2,3-dihydroxypropyl (9Z)-octadec-9-enoate (1-Oleoyl-R-glycerol)  
OXJ — 1-[3,5-bis(trifluoromethyl)phenyl]-N-methylmethanamine  
  
  

> select :ARG

364 atoms, 329 bonds, 1 model selected  

> select clear

> vr true

started SteamVR rendering  

> select ~sel

5972 atoms, 6086 bonds, 5 pseudobonds, 6 models selected  




OpenGL version: 3.3.0 NVIDIA 398.35
OpenGL renderer: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (3)

comment:1 by Tom Goddard, 6 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionCascaded menus broken in VR

comment:2 by Tom Goddard, 6 years ago

Cascaded menu entries such as Select / Residues / ALA sometimes work and sometimes it instead acts as if the first menu in the cascade (Select / Residues) was clicked.

Testing shows that the problem occurs only when the mouse on the desktop is over the first cascade menu position. In that case it acts as if a click at the mouse position was made even when the VR synthesized click was correctly on the second menu with the right position. If the mouse is over the second menu it works correctly.

The action is performed on the button release. Debugging shows the synthesized VR button release event is on the correct panel at the correct position. But it is ignored and the mouse position over the first panel is used if the mouse is over the first panel. Weird.

comment:3 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Made click and release on VR user interface panels update mouse position on desktop.

Note: See TracTickets for help on using tickets.