Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
EasyRPG window is strangely sized when exiting fullscreen (screenshot) [Mac OS X/macOS] #1364
Name of the game: Any game
Player platform: Mac OS X (10.13.4) - on retina
Attach files (as a .zip archive or link them)
Describe the issue in detail and how to reproduce it:
After starting the player and loading any game, exiting full screen mode results in the following player size:
Update: same behavior occurs on non-retina screens. Exact same measurements.
As you can see, the image is letterboxed for some strange reason. The width is 1280x916, but since this is 2x retina the real size is 640x458. The size I would expect is 1280x960, which would display the full image without letterboxing and also would avoid the image from being distorted due to resizing (see the "new game" text for example which is clearly suffering from point resizing).
I've never programmed any native UI in OSX but I think it's pretty clear here that the window is being set to 1280x960, but unfortunately that includes the top bar, whose height is exactly the missing 44 pixels.
Thanks for the report :).
Maybe a working workaround is creating the Window windowed and toggling the fullscreen flag afterwards.
referenced this issue
May 21, 2018
added a commit
Jul 25, 2018
Unfortunately I'm getting an error when building...not sure how to proceed. I've checked out the branch from your PR and I've got all prerequisites (no errors in configure).
Here's my compile log: https://gist.github.com/msikma/d2c8ffd43132b2cea09230ecf22ae32b