I'm really confused by how Viewports & Windows are supposed to work in #bevy especially on #macOS (or at least on my Macbook Air.)
I request a 1920x1080 "physical size" window - I receive a 3840x2160. Okay, double scale factor, makes sense..
But the actual resolution of the full screen is 2940x1912. So I won't actually get a window that size.
It does update after a frame or two, but then bevy's Window reports a physical size of 2940x1840.
Yuck. How do I get real numbers out of this?
@jotapeh I see a github issue for this. Maybe its just bugged?
@shram86 I see a few windowing issues, but nothing specific to what I'm describing necessarily. Would you happen to have a link? I'm wondering if this is a bevy thing or a deeper winit issue
@jotapeh Oops, that one is closed.
Looks like .window_scale_factor_override was added to use on a high dpi devices. Hmm
@shram86 yeah, I've tried that, but it doesn't actually change anything except the UI scale. I still get the window size weirdness.
Ah, maybe I'll spend some cycles fixing this later, but for now I guess I'll do the extremely ugly solution of checking window/viewport every frame