TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
187 stars 3 forks source link

[BUG] window sometimes moves down a bit in macOS when the menu bar is hidden #440

Open rxhfcy opened 3 years ago

rxhfcy commented 3 years ago

Is there an existing issue for this?

Operating System

macOS

CPU

No response

GPU

No response

Storage

No response

Game Version

4.10.0

Describe the problem

I want the OutFox window to fill the entire screen but I dislike the way native Full Screen works in macOS in general, so I automatically hide the menu bar and the Dock in System Preferences / Dock & Menu Bar and make the OutFox window take the whole screen (kind of like how "maximize" works in Windows, and okay, the title bar is still visible but that's fine).

Works nicely, but when I exit and reopen the game, the window has moved down a bit, approximately the height of the menu bar. The menu bar is hidden so the window shouldn't move to leave room for the menu bar, so something strange is happening here.

Describe what should happen

  1. System Preferences / Dock & Menu Bar: Automatically hide and show the Dock (yes, we want the Dock hidden)
  2. System Preferences / Dock & Menu Bar: Automatically hide and show the menu bar (yes, we want the menu bar hidden too)
  3. In OutFox options, set the Display Resolution to match whatever the resolution of your screen is
  4. move the window so that it takes the whole screen (option-click the green circle window control to "Zoom")
  5. exit the game and then reopen it

The window position should be the same it was when I closed the window. This is what other macOS applications do.

Relevant Log output

No response

Scraticus commented 3 years ago

We haven't actually coded a methodology to do this yet, but it is something that is needed for a modern application, indeed.

Our MacOS support is still ongoing, we had to update a lot from a 15 year old codebase to what we have now.

Thanks for the report, and taking the time to let us know about it.