Opened 8 years ago

Closed 8 years ago

#954 closed defect (fixed)

Session restore error resizing main window

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: major Milestone:
Component: Window Toolkit Version:
Keywords: Cc: pett
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Seesion restore gives a warning that it cannot resize the main window when ChimeraX has been maximized on vizvault projector screen (1440x1050 screen). The window does not resize but the panels are truncated on the right, so the buttons of Model Panel on the right are not visible. No amount of resizing the panels by moving the divider between the panels and the graphics area show the Model Panel buttons. It behaves as if the panels think the main window is larger than the full screen. But the window is still maximized with the right edge of the window at the right edge of the screen and the iconify, maximize and close window buttons in its upper right corner. Unmaximizing and then remaximizing the window fixes the missing Model Panel buttons.

UCSF ChimeraX version: 0.1 (2017-12-12)
OpenGL version: 3.3.0 NVIDIA 388.13
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

open D:\demos\p97-sep2017\p97_drug.cxs

Summary of feedback from opening D:\demos\p97-sep2017\p97_drug.cxs

warning QWindowsWindow::setGeometry: Unable to set geometry 1507x984+2560+23 on QWidgetWindow/'MainWindowClassWindow'. Resulting geometry: 1400x987+2560+23 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 333x355, maximum size: 16777215x16777215).
opened ChimeraX session

Change History (3)

comment:1 by Tom Goddard, 8 years ago

This bug is on Windows 10 on vive.cgl.ucsf.edu

comment:2 by Tom Goddard, 8 years ago

On Mac OS restoring a session while ChimeraX shown full screen causes graphics and panels to shrink to correct size but with black covering the rest of the screen as it is still in full screen.

Should check if in full screen mode, and if so make session restore not resize window.

comment:3 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Don't set window size if ChimeraX window is maximized. Tested on Mac, not on Windows.

Note: See TracTickets for help on using tickets.