Author Topic: PI incorrectly scales UI on hiDPI displays on WIN10  (Read 1204 times)

Offline txo

  • Newcomer
  • Posts: 16
PI incorrectly scales UI on hiDPI displays on WIN10
« on: 2019 March 31 08:58:09 »
Common guys, it's 2019 :(

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #1 on: 2019 March 31 12:04:44 »
This cannot be reproduced under normal working conditions. PixInsight 1.8.6 (also 1.8.5) works without flaws on several Windows 10 testing machines with high-dpi displays. This includes 5K and 4K monitors, as well as a 1680x1050 Retina display.

Can you put an example of PixInsight not working on a high-dpi display?

By the way, PixInsight is a fully scalable application since at least 2014.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline txo

  • Newcomer
  • Posts: 16
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #2 on: 2019 April 01 01:07:30 »
It doesn't scale at all. Please find attached picture. Device: Surface Pro 6.

Offline txo

  • Newcomer
  • Posts: 16
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #3 on: 2019 April 01 01:31:23 »
And when I force windows to scale it (enhanced), then it looks fine, but when I click outside the blink window it does several weird things. See pictures attached

Offline txo

  • Newcomer
  • Posts: 16
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #4 on: 2019 April 01 01:33:58 »
Normal system scaling appears to work correctly but app is blurred and menus are weirdly spaced, etc

Offline txo

  • Newcomer
  • Posts: 16
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #5 on: 2019 April 01 01:37:35 »
And one last thing. The behaviour is the same regardless whether I use internal or external 4k display.

Offline dld

  • PixInsight Addict
  • ***
  • Posts: 132
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #6 on: 2019 April 01 02:19:00 »
I am on a 13 inch Win10 laptop with a resolution of 3200 x 1800. PI works fine. I have set the UI scaling factor to 2.00 (Preferences > Core UI Resources > (restart PI)) to ease my eyes. Any problems I have met so far are caused by problematic graphic drivers. Unfortunately even native Win10 apps doesn't scale properly, e.g., the Device Manager.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #7 on: 2019 April 01 06:54:15 »
To scale its interface automatically under nonstandard high-dpi screen resolutions (such as 2736x1824 on a Surface Pro 6, which is below the standard 4K resolution), current versions of PixInsight need reliable information on screen physical dimensions provided by the operating system. This is not available on MS Surface laptops running Windows.

To overcome this problem, press Windows+R to open a 'Run' box. Then type the following and click OK:

C:\Program Files\PixInsight\bin\PixInsight.exe --ui-scaling=1.5

In this example, I am assuming that 1.5 is the correct scaling factor for your laptop monitor. If this is still too small for you, you can try with 2.0. Remember that you only have to do this once. The specified scaling factor will be stored in application preferences, and will be used until you change it manually, or until you reset application settings.

For more information on new command-line arguments to control UI scaling, see this official announcement:

https://pixinsight.com/forum/index.php?topic=13197.0

or run the PixInsight core application with the --help argument.

I am going to include a note on our System Requirements page and a new FAQ to describe these issues with Surface and similar convertible laptops.

Also worth noting is the fact that Surface laptops use an integrated Intel graphics adapter that has given many problems because of defective OpenGL implementations on Windows. I hope these problems have been fixed in new driver versions. Make sure you have the latest version of your graphics driver installed.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline txo

  • Newcomer
  • Posts: 16
Re: PI incorrectly scales UI on hiDPI displays on WIN10
« Reply #8 on: 2019 April 01 23:19:31 »
This did help.

thank you very much