OpenVR-AdvancedSettings icon indicating copy to clipboard operation
OpenVR-AdvancedSettings copied to clipboard

DPI scaling causes bad UI element arrangement

Open scatterlogical opened this issue 7 years ago • 5 comments

I have my Windows' DPI scaling set to 125% (I use a digital projector at 1080p, so necessary to read some text clearly), and it's causing bad issues with UI elements, in both VR and desktop modes. Some are objects are overlapping, others are cut off at the side of the window, and particularly with the chaperone profile window I can't see the ok and cancel buttons at all.

scatterlogical avatar Dec 28 '17 07:12 scatterlogical

Same issue here. I tried troubleshooting from both links below to no avail.

https://github.com/matzman666/OpenVR-AdvancedSettings/issues/4 https://github.com/matzman666/OpenVR-AdvancedSettings/issues/15

CAPP360 avatar Jan 02 '18 21:01 CAPP360

I have dpi scaling completely disabled in this application. I don't know what else to do than telling Qt to stop using spi scaling. You could try to disable dpi scaling in the windows compatibility settings (Right-click on the AdvancedSetttings.exe => Settings => Compatibility)

matzman666 avatar Jan 14 '18 20:01 matzman666

I have the same issue when using 4k and 200%+ scaling. If I set 1080p and and set to 100% DPI everything works fine. I've tried various windows compatibility settings but couldn't get anything to work.
Rather than changing my resolution/dpi every time I am currently using the batch file (dont have the exact name right now) that exists in the Advanced Settings install directory - this lets you launch the Advanced Settings on your desktop seperately from VR. You can then control the settings through this. One thing to note, I am pretty sure I still had to set the compatibility settings on the batch file to 'Over-ride system settings'. Override Application settings did not work and still screwed the UI elements. Hope this helps as a temporary workaround.

pstanbri avatar Mar 15 '18 15:03 pstanbri

Can confirm, this issue is annoying. I can either use the desktop application with DPI override, or I have to set my desktop resolution from 4K 300% DPI to 1080P100% DPI. This is completely making advanced settings unusable.

Setting the startup variable through CMD does allow it to display properly in "C:\Program Files\OpenVR-AdvancedSettings\AdvancedSettings.exe" -platform windows:dpiawareness=0

That being said, this has to be executed manually and the following QT setting is not honored: [Platforms] WindowsArguments = dpiawareness=0

lllsondowlll avatar May 22 '18 02:05 lllsondowlll

Can confirm this is still happening.

If you launch the app yourself it will honour the Windows compatibility/Qt dpi settings, but if you let Steam launch it automatically it will use steams scaling, particularly if you have Steam's dpi setting, which you probably do. This is a SteamVR bug.

You can disable Steam's dpi scaling, which is mildy annoying but not as bad as your whole desktop being tiny:

Steam > Settings > Interfact > Scale Text and Icons...

Or you can prevent AdvancedSettings from being autolaunched by steam:

SteamVR > Settings > Startup & Shutdown > Auto start Overlay Apps

Then you can launch advancedsettings manually, or with a windows startup script.

haywirephoenix avatar Jan 31 '20 20:01 haywirephoenix