Opened 7 years ago

Closed 5 years ago

#1311 closed defect (fixed)

Windows 10 display scaling gives wrong GUI text sizes

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Platform Version:
Keywords: Cc: chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: Windows 10
Project: ChimeraX

Description

On high-dpi displays (e.g. 4K displays, or 2560x1440 laptop screens) Windows 10 uses a "display scaling" setting so that apps show text that is at a readable size.

Using 150% display scaling on Windows 10 messes up various font sizes in ChimeraX. The status line size is tiny (4x shorter than status line height). The log (html window) font seems properly scaled. Most other text does not appear to get scaled, such as the menu names at top of window, the model panel text, all tool panel title bars, the command-line label "Command" and typed command text.

An image at 100% scaling and another at 150% scaling (with ChimeraX restarted) are attached, using 2560 by 1440 flat panel on vive.cgl.ucsf.edu machine.

Attachments (2)

ChimeraX 100 percent.png (132.5 KB ) - added by Tom Goddard 7 years ago.
ChimeraX 150 percent.png (306.4 KB ) - added by Tom Goddard 7 years ago.

Download all attachments as: .zip

Change History (4)

by Tom Goddard, 7 years ago

Attachment: ChimeraX 100 percent.png added

by Tom Goddard, 7 years ago

Attachment: ChimeraX 150 percent.png added

comment:1 by Tom Goddard, 7 years ago

Fixed the status line text size with Windows display scaling != 100%. ChimeraX code mixed up points and pixels when making text images.

comment:2 by Tom Goddard, 5 years ago

Resolution: fixed
Status: assignedclosed

Font sizes currently look reasonable at 100%, 125% and 175% scaling on a 2560 x 1440 desktop display tested with todays 1.0 release candidate. Status line text is correct size. Some labels like "Command" in front of command-line looks a bit small at 175% but ok.

Note: See TracTickets for help on using tickets.