HiDPI Support in Linux

Bugs & Suggestions
Post Reply
salukibob
Posts: 2
Joined: Sun Apr 02, 2017 5:42 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
ram: 16B
Hard_Drive_Capacity: 500B
Corel programs: Aftershot Pro 3

HiDPI Support in Linux

Post by salukibob »

Hello,

I've recently purchased a new laptop with a HiDPI display (3840x2160). I have installed a copy of Elementary OS (Ubuntu and based on Gnome 3). It scales the display perfectly straight from installation.

I then purchased Aftershot Pro 3 and was excited to get started editing, but was very sad to see that Aftershot Pro doesn't properly scale and displays very small (see attached screenshot). I'm rather surprised that a high end product like ASP3 wouldn't have tested this and I'm pretty disappointed.

When I start the program from the command-line, I noticed that ASP3 uses some elements of the QT libraries, so I tried setting the QT_AUTO_SCREEN_SCALE_FACTOR by invoking ASP3 as:
$ QT_AUTO_SCREEN_SCALE_FACTOR=1 AfterShot3X64

But that didn't work either. Does anyone have any other suggestions before I admit defeat and change my display to 1920x1080 (and feel mighty saddened by it all)

Thanks for any help
Rob
Attachments
AftershotProBadScaling.jpg
rojter
Posts: 1
Joined: Sun May 14, 2017 9:09 pm
operating_system: Linux
System_Drive: C
32bit or 64bit: 64 Bit

Re: HiDPI Support in Linux

Post by rojter »

Hi,

I found this in different post

[...]
The underlying framework QT supports setting pixel per ratio to make aftershot a little more usable on hidpi screens.

Start aftershot with and many elements will appear bigger.
export QT_DEVICE_PIXEL_RATIO=2;AfterShot3X64

Menu fonts are still small though.
[...]
salukibob
Posts: 2
Joined: Sun Apr 02, 2017 5:42 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
ram: 16B
Hard_Drive_Capacity: 500B
Corel programs: Aftershot Pro 3

Re: HiDPI Support in Linux

Post by salukibob »

Brilliant! Thank you, that works great. Interestingly that environment variable is listed separately from the others for DPI scaling in the QT docs.

Now ASP is back to being great again! Thank you.
Post Reply