Cutter: Software is not compatible with high resolutions with high DPI

Created on 13 Dec 2018  路  11Comments  路  Source: rizinorg/cutter

Environment information

  • Operating System: Windows 10
  • Cutter version: 1.7.2
  • File format:

Describe the bug
Running 3200x1800 resolution. Windows is at the recommended scaling of 250%. Some elements of the software does not scale. The majority of it does just fine.

To Reproduce
Steps to reproduce the behavior:

  1. Buy a high resolution screen or a device with one built in.
  2. Run the software.

Expected behavior
For things to scale appropriately.

Screenshots
cutter-high-dpi

Additional context
No.

HacktoberFest UI good first issue

Most helpful comment

Running same DPI as you, to fix this for just your main display do the following:

cmd.exe /c "set QT_AUTO_SCREEN_SCALE_FACTOR=1 & cutter.exe"

Currently If you take any other windows and move them to lower DPI monitors the windows look okay but the font will be either too small or too large.

Based off the QT documentation it should be something that can be looked at fixing in the future, I'm interested in helping out if I get some time.

Also it should be relatively easy to add a simple environment variable in a minor release until the rest is sorted. That's my thought.

__References:__
https://doc.qt.io/qt-5/highdpi.html

All 11 comments

Related: #675

@thestr4ng3r do you have any idea about it?

Not really, I would have to test myself. But right now I don't have any Windows dev environment set up.

Running same DPI as you, to fix this for just your main display do the following:

cmd.exe /c "set QT_AUTO_SCREEN_SCALE_FACTOR=1 & cutter.exe"

Currently If you take any other windows and move them to lower DPI monitors the windows look okay but the font will be either too small or too large.

Based off the QT documentation it should be something that can be looked at fixing in the future, I'm interested in helping out if I get some time.

Also it should be relatively easy to add a simple environment variable in a minor release until the rest is sorted. That's my thought.

__References:__
https://doc.qt.io/qt-5/highdpi.html

@lillypad thanks for the insights! Can we have your help with handling these issues with DPI? It would be great :)

Yeah I have enough time to make a patch for a minor release to make it a little better.

Thank you very much :)

Hey @lillypad, any chance you took a look on this issue? :)

I started setting up build environments for testing on different os and graphic environments and started considering to get a monitor.

Those environment varibles are somewhat temporary workarounds that can prevent UI from being terribly broken. We should use them if necessary until proper support is implemented.

Here are my work in progress notes for systematic approach to this https://gist.github.com/karliss/3e2da4c372ea9c49fab8652bfae0c7b8

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Maijin picture Maijin  路  5Comments

dukebarman picture dukebarman  路  4Comments

s0i37 picture s0i37  路  5Comments

optizone picture optizone  路  3Comments

doublegrey picture doublegrey  路  4Comments