Resolution scaling not respected on macOS in Windowed/Borderless mode

1 votes

All macs being sold since 2012 have high-DPI displays with 2x resolution scaling. Northgard mistakenly uses the window size as its render resolution instead of taking into account the screen's scaling factor (for example, on my 2880x1800 screen it renders at 1440x900).

This is not helped by the fact that Fullscreen (CGCaptureAllDisplays()) mode on macOS means you can't even Cmd+Tab out of the app. (Apple themselves recommends avoiding it and using borderless modes in their Cocoa documentation), so I'm stuck having to choose between not being able to use my computer for anything else but Northgard or playing in low resolution. Not to mention, if I set fullscreen resolution to 2880x1800, that's with HiDPI scaling set to 1x, meaning my cursor sensitivity will be off and I need to adjust that before entering the game too.

What I'm trying to say is that this bug is a bigger UX issue on macOS than it might seem at first.

Approved Mac Option Suggested by: Marius Petcu Upvoted: 27 Dec, '23 Comments: 0

Comments: 0