Open razmigsarkissian opened 4 years ago
Figured out repro steps for what seems to be essentially the same issue, but is easier to pull off than what is described here:
Addressing this seems fairly complicated. Detecting the window shrinking down only works once, if you repeatedly follow the steps given above after a trivial hack to fix the window then it keeps its fixed size, so the hack doesn't work a second time. Fixing this will probably involve writing some Objective-C or Swift to interact directly with the Cocoa window handle.
Implemented a fix in https://github.com/Regalis11/Barotrauma-development/commit/0b4489b4c73ba42cf6e4c2d949c237e18d1ddcc2. I may have to break it off into its own branch and merge it separately from the high DPI fixes.
Well I'm also a MacOS 10.15 user and I'm still having similar issue in 2024, but this time in both fullscreen, borderless windowed and windowed mode. I will introduce more in a new issue post.
Description Was playing [unstable] MP campaign with friend. My mail app had this weird thing where it pops in full screen. Usually that's not doing any harm, I just have to do a cmd-tab to get back to my previous app / game. But with barotrauma, I got the size of the game's windows to be ridiculously small and without any way to got back to full screen.
Steps To Reproduce Play the game and manage to have a background app goes full screen while baro is already in fullscreen
Version Which version of the game did the bug happen in. Also, please include the operating system you're using (Windows/Linux/Mac). Mac OS Catalina 10.15.5 (19F101)