Opened 6 years ago
Closed 6 years ago
#2851 closed defect (fixed)
Undocked tools have no titlebar in VR
Reported by: | Tom Goddard | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | VR | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
If a tools is undocked it does not show a titlebar in VR. The titlebar has the close button that is useful.
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Docked tools also have a undock icon on the titlebar which works in VR but just makes the titlebar vanish. Probably don't want that. Maybe the VR code should always add a titlebar and grabbing docked widgets should just grab the contents.
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by making VR add titlebars to docked and undocked widgets.
Note:
See TracTickets
for help on using tickets.
Actually an undocked tool does show a title bar in VR if it was undocked when the panels were first shown in VR. The trouble is when the panels are shown in VR, then the tool is undocked by dragging it out of the main window using the mouse, then VR shows not titlebar.
The cause of this is that screen grabs of docked tools include the titlebar while screen grabs of undocked tools do not, so the VR code adds a titlebar. But the VR code only decides if it needs to add the titlebar when the VR panel is first made.