Opened 7 years ago

Closed 7 years ago

#1143 closed defect (can't reproduce)

Toolbar clipped on high DPI display, Windows 10

Reported by: Meghan.Driscoll@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hi,


We tried to run today's daily build of ChimeraX on a Windows 10 laptop and encountered the following bugs.


1. The screen configuration doesn't seem to adapt to varying resolution, so that at high resolution (3840 x 2160)? the objects on the screen are small and unusable, and at low resolution they overlap.


2. If you pick a screen resolution in the middle, most objects are visible, but the buttons at the top of the screen, like the white background button, don't work, and every time you press a button you see a  "Could not parse stylesheet of object ..." error. The command line is still useable to import data.

Best,
Meghan Driscoll


________________________________

UT Southwestern


Medical Center



The future of medicine, today.


Attachments (1)

ChimeraXWindowsBugs.pptx (2.8 MB ) - added by Tom Goddard 7 years ago.

Change History (10)

comment:1 by Eric Pettersen, 7 years ago

Cc: chimerax-programmers added
Component: UnassignedGeneral Controls
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned

comment:2 by Eric Pettersen, 7 years ago

Cc: chimera-programmers added; chimerax-programmers removed

by Tom Goddard, 7 years ago

Attachment: ChimeraXWindowsBugs.pptx added

comment:3 by Tom Goddard, 7 years ago

I put in a possible fix to make the Qt window toolkit which ChimeraX uses handle high DPI displays better. Try the ChimeraX build tomorrow and see if it is any better. Unfortunately I do not have a high-DPI display on Windows 10 so this may be hard to fix since I cannot test possible changes.

comment:4 by Tom Goddard, 7 years ago

One other thing to try in the new version is to use 200% scaling in Windows display properties (right click on Windows background, and choose Display Properties), instead of non-integer scale factors like 250% or 150%.

in reply to:  6 comment:5 by Meghan.Driscoll@…, 7 years ago

Hi,

It seems to work now. There's no file bar at the top of the screen and errors that appear at the bottom of the screen are extremely small, but that's ok.

Thank you,
Meghan
________________________________________
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Sent: Tuesday, May 29, 2018 6:33 PM
Cc: Meghan Driscoll; chimera-programmers@cgl.ucsf.edu; goddard@cgl.ucsf.edu
Subject: Re: [ChimeraX] #1143: Windows Resolution

#1143: Windows Resolution
----------------------------------------+----------------------
          Reporter:  Meghan.Driscoll@…  |      Owner:  goddard
              Type:  defect             |     Status:  assigned
          Priority:  normal             |  Milestone:
         Component:  General Controls   |    Version:
        Resolution:                     |   Keywords:
        Blocked By:                     |   Blocking:
Notify when closed:                     |   Platform:  all
           Project:  ChimeraX           |
----------------------------------------+----------------------

Comment (by goddard):

 One other thing to try in the new version is to use 200% scaling in
 Windows display properties (right click on Windows background, and choose
 Display Properties), instead of non-integer scale factors like 250% or
 150%.

--
Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1143#comment:4>
ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker

________________________________

UT Southwestern


Medical Center



The future of medicine, today.


comment:6 by Tom Goddard, 7 years ago

Do you mean there is no File menu (or other menus) at the top of the ChimeraX window? The menus are somewhat important.

I can imagine that the status line at the bottom of the ChimeraX window has very small fonts. That is rendered with OpenGL and might need some special code to handle the high DPI displays.

I tested ChimeraX with my change from last week (setting the Qt high DPI display support attribute) on our normal display at 200% scaling and it all looks perfect.

We do not have any 4K display to test on so I don't think we will be able to make any progress on this.

Another setting that may remedy the appearance is to change the Windows 10 setting for ChimeraX to override high DPI scaling, basically right click the ChimeraX icon, choose Properties, Compatibility tab, Change DPI Settings, enable Override High DPI Scaling, method "System (Enhanced)".

comment:7 by Tom Goddard, 7 years ago

Summary: Windows ResolutionToolbar clipped on high DPI display, Windows 10

in reply to:  9 comment:8 by Meghan.Driscoll@…, 7 years ago

There's no file menu at all at the top of the screen. He said that those two scaling changes didn't fix the file bar. We really don't use the file bar though, so it's ok.

Thank You,
Meghan
________________________________________
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Sent: Monday, June 4, 2018 5:15 PM
Cc: Meghan Driscoll; chimera-programmers@cgl.ucsf.edu; goddard@cgl.ucsf.edu
Subject: Re: [ChimeraX] #1143: Windows Resolution

#1143: Windows Resolution
----------------------------------------+----------------------
          Reporter:  Meghan.Driscoll@…  |      Owner:  goddard
              Type:  defect             |     Status:  assigned
          Priority:  normal             |  Milestone:
         Component:  General Controls   |    Version:
        Resolution:                     |   Keywords:
        Blocked By:                     |   Blocking:
Notify when closed:                     |   Platform:  all
           Project:  ChimeraX           |
----------------------------------------+----------------------

Comment (by goddard):

 Do you mean there is no File menu (or other menus) at the top of the
 ChimeraX window?  The menus are somewhat important.

 I can imagine that the status line at the bottom of the ChimeraX window
 has very small fonts.  That is rendered with OpenGL and might need some
 special code to handle the high DPI displays.

 I tested ChimeraX with my change from last week (setting the Qt high DPI
 display support attribute) on our normal display at 200% scaling and it
 all looks perfect.

 We do not have any 4K display to test on so I don't think we will be able
 to make any progress on this.

 Another setting that may remedy the appearance is to change the Windows 10
 setting for ChimeraX to override high DPI scaling, basically right click
 the ChimeraX icon, choose Properties, Compatibility tab, Change DPI
 Settings, enable Override High DPI Scaling, method "System (Enhanced)".

--
Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1143#comment:6>
ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker

________________________________

UT Southwestern


Medical Center



The future of medicine, today.


comment:9 by Tom Goddard, 7 years ago

Resolution: can't reproduce
Status: assignedclosed

We tested ChimeraX with a Windows 10 desktop machine connected to a 4K display (in library across the hall), and did not observe any problem with the layout of the user interface. It seems the user interface problems on the laptop reported in this bug report is somehow specific to the laptop. Not able to make progress on this without a computer to test on.

Note: See TracTickets for help on using tickets.