MMetze / DMHelper-Tracker

Repo to track feature request and bug reports for DMHelper
2 stars 0 forks source link

4K Resolution Causing Clipping #62

Open DrkNinja opened 4 years ago

DrkNinja commented 4 years ago

Discord User: Jaydee829

Describe the bug: Initiative and character stat fields are clipping each other making them unreadable

DMHelper version: 1.6

To Reproduce: Steps to reproduce the behavior: Own a 4K Monitor?

Expected behavior: Not Clip?

Screenshots: https://cdn.discordapp.com/attachments/608038870046736405/679766415292629009/2020-02-19_1.png

[https://cdn.discordapp.com/attachments/608038870046736405/679766337404272651/2020-02-19.png](Character Stats)

Desktop (please complete the following information):

Additional context: No resolution after discussing with DM Helper

[2:12 PM] mybigfriendjo: this seems less like a resolution thing but more like a scaling thing to me [2:12 PM] mybigfriendjo: do you have the scale of that monitor set to anything other than 100%? [2:12 PM] mybigfriendjo: scaling would change the size of fonts and some elements [2:13 PM] DMHelper: Looks icky... [2:13 PM] mybigfriendjo: that would then no longer fit because the default values for that resolution are too small [2:13 PM] jaydee829: yes, windows autoscales it for 4k screens on laptops (at least that I have seen) [2:13 PM] DMHelper: @jaydee829 thanks, maybe now I have an excuse to get a 4k monitor [2:14 PM] mybigfriendjo: so you could circumvent that by setting scale back to 100% - but then everything would be unreadably small due to resolution [2:14 PM] mybigfriendjo: not sure if there is something to be done within Qt that allows for editing the scale from code [2:15 PM] DMHelper: That's gonna need some investigation. [2:16 PM] jaydee829: I checked and the recommended scaling from windows is 250%. I went to 100 and here is a screenshot.

[2:16 PM] mybigfriendjo: yikes [2:16 PM] jaydee829: I didn't maximize the window because then there was vast amounts of empty space [2:16 PM] mybigfriendjo: might need a restart for the scaling to apply to the checkboxes as well [2:17 PM] mybigfriendjo: restart of the app that is [2:17 PM] mybigfriendjo: but yeah [2:17 PM] jaydee829: Here it is maximized

[2:17 PM] jaydee829: I restarted the app after changing scaling [2:17 PM] mybigfriendjo: definitly an issue connected to scaling at those high resolutions [2:19 PM] jaydee829: yup, its pretty common on software that is freeware or is not widely produced. I have seen it with Mendeley (reference management) that I can think of off the top of my head, though they have been improving over time. [2:21 PM] jaydee829: interestingly, I don't have a problem with gloomhaven helper, probably due to the interface type interacting with the scaling better [2:38 PM] DMHelper: @jaydee829 not gonna lie, doesnt look good [3:12 PM] jaydee829: @DMHelper it's mostly usable from what I can see, but definitely a scaling issue. I'm not familiar with Windows UI design and how they scaling would interplay with that so I cannot offer much in the way of help, sorry! [3:15 PM] DMHelper: That's fine - but thank you for bringing it to my atention!

MMetze commented 4 years ago

I'll test it tomorrow on my Surface. On first glance: Not only the app has to be restarted, the whole user has to close his windows session and log in again. Scaling is applied on login. Let you know tomorrow.

MMetze commented 4 years ago

Allright, so I noticed that when I change the scaling for high-res displays, there are some big empty areas in the different windows. Also, on the Characters page, the scaling of the numbers in the rectangles behaves differently as the rectangles themself. When I up my scaling to 300%, barely one digit is still visible.

The change in scale affected the app after restart of the app.

dm-helper commented 3 years ago

Does this still need fixing? I don't have a hi-res display @MMetze