Opened 9 years ago

Closed 9 years ago

#336 closed defect (fixed)

2x scaling errors with Mac retina display

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

Description

On a Macbook Pro with retina display (Mac OS 10.11.5) and Qt 5.6.0 the graphics shrinks to half size occupying the lower left corner when the window is resized. Rotating makes it then return to full size. Enabling silhouette edges shows the edges scaled 2x larger than the full window.

The Mac retina implementation requires requesting an OpenGL context to get the full retina resolution. It seems Qt is sometimes providing full resolution sometimes half. Maybe it is just reporting the window width/height off by a factor of 2.

These problems do not occur on non-retina Mac 10.11.5 system.

Change History (1)

comment:1 by Tom Goddard, 9 years ago

Resolution: fixed
Status: newclosed

Fixed.

Added pixel scale parameter which is 2 for retina and 1 for non-retina displays.

Note: See TracTickets for help on using tickets.