Opened 6 years ago
Closed 6 years ago
#2849 closed defect (fixed)
Menu pane positioned wrong in VR
Reported by: | 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 Clicking the menu at the top of the Build Structure tool in VR after the tool pane has been moved in VR, places the menu pane in the wrong place, where the panel was originally. This may be because the menu pane is not parented to the tool, instead having to ChimeraX top level window as parent. 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 > select ::name="ARG" 364 atoms, 329 bonds, 1 model selected > hide sel atoms > show sel atoms VR mode select > select /B:241@NH2 1 atom, 1 model selected > toolshed show "Build Structure" 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 (2)
comment:1 by , 6 years ago
Component: | Unassigned → VR |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Menu pane positioned wrong in VR |
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed.
This is because the QMenu was created without a parent so the VR does not know which panel the menu belongs to. Added parent to Build Structure menus and some other menus. In general ChimeraX should create Qt widgets with a parent if the widget will not be added to a layout. Maybe QMenu is the only case where a widget is not added to a menu.