Beeftext
Beeftext copied to clipboard
Scaling issues on high DPI devices with 200% scaling
Expected behavior
Window fits reasonably on display.
Actual behavior
Buttons & text are huge. Preference window does not even fit on the display screen. Cannot accept changes on preference window.
I've tried overriding in the compatibility menu for high dpi displays, but the typical settings of using 'system' doesn't actually have an effect.
Operating system
Windows 10 1903 Display res 3840x2160 Display scaling 200%
Hi.
I will try to have a look at that. Unfortunately, I do not have a high resolution DPI available, which could make the investigate a bit difficult. Could you send me a screen shot of Beeftext with another 'DPI aware application next to it?
Regarding the Preferences dialog,I was planning to split it in tabs, so that it takes less vertical space.
I will try to post test build and may require more help from you.
Hey sorry, just seeing this.
It seems like this issue gets resolved after a reboot, so I'm not sure exactly why, but I changed it to use the system DPI, but wasn't actually reflected until the system restarted. Now after restarting it seems to reflect what I'd expect to see.
Glad to hear. I will have a few new options for hi-dpi screens implemented in Beeftext 6.0. Unfortunately, I do not have the required hardware to test. so If you are willing to help, your feedback will be appreciated.
Can do, reach out when needed.
Shouldn't this issue be closed then? anyway I have a separate issue but related, so I don't know if i should open a new issue or what (really should close all the sorted issues)
The combo picker dialog doesn't show up. It gets created when the shortcut key win+shift+enter is pressed, but it doesn't display where I am typing. For example here ... see screenshot
what actually happens is the window is created but not shown
or maybe not in the right position as seen in the first screenshot. So how to resolve this issue? I am using win10 1903 (build18362.592)
Unchecking "Use Custom Theme" in Preferences > Appearance seem to solve any element overlapping/collision issue in Beeftext windows.
Drawback: This setting will return Beeftext to the most bare-bone look and feel.
Setting the app in "Application" scaling mode (excluding the app from Windows' smart High DPI-unaware fix logic) seem to fix any window/poup placement issues. The option is present when right-clicking Beeftext.exe
, select Properties > Compatibility > Change High DPI Settings, and check Override High DPI scaling behavior.
I think basically Windows provides High DPI-unaware apps some fake screen resolution to reverse the calculation involving scaling factor, so coordinate-based element placement gets all wrong. Just a guess.
Drawback: Elements (window, text, etc.) may look unscaled (as if the system scaling factor is 100%). Doesn't seem to be the case with Beeftext but I've seen other apps act this way. There are also "System" and "System (Enhanced)" options to experiment with. I think at least one will work for you.
Note to developer: Many Qt-based apps added high DPI awareness recently (e.g. Calibre, MKVToolNix), maybe there's a master opt-in somewhere in Qt so you just "let Qt deal with it", and you don't necessarily need to test the app specifically on a high-DPI monitor.
@VaslD Thanks for the update. I really need to get my hands on a HiDPI screen to implement this properly.
I got a new HiDPI laptop, and also noticed issues with BeefText. Here's a screenshot for reference. As VasID said, disabling custom theme fixes some overlapping issues.
Hi. Thank for the information. I really need to get my hands on a hiDPI screen soon. It's difficult to debug that kind of problem without it.