Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fullscreenwindow offset on Mac book air m3 #20

Open
Sonicious opened this issue Nov 18, 2024 · 2 comments
Open

fullscreenwindow offset on Mac book air m3 #20

Sonicious opened this issue Nov 18, 2024 · 2 comments

Comments

@Sonicious
Copy link

Hi.
Love the project <3

On my Macbook Air 3 I get a vertically offsetted window in fullscreenwindow (fullscreen not working)
This causes a lack of scrolling down and a hidden menu bar. Also the hardware cursor has an offsetting. I guess all these problems are linked together.

Something I can help with troubleshooting?

@codeflorist
Copy link
Collaborator

Hey @Sonicious ,

Unfortunately i don't have such a MacBook to test. I did a bit of research and found a possibly similar problem reported for Dosbox-X:
joncampbell123/dosbox-x#3731

The proposed solution is to set "Scale to fit below built-in camera" for the dunedynasty executable in macOS which is described here:
https://support.apple.com/en-us/102125.

Hope this helps!

@Sonicious
Copy link
Author

I think you are right. This is the offset which is missing.

Bildschirmfoto 2024-11-20 um 20 27 32

I cannot set the option, since this is a commandline application. Is it possible to compile it as a MacOSX Bundle? I'm not really fit in CMAKE anymore and couldn't find the Mac version of add_executable.

I remember it was similar to

add_executable(dunedynasty MACOSX_BUNDLE
	${DUNEDYNASTY_SRC_FILES} ${CMAKE_SOURCE_DIR}/src/icon/icon.rc)

# Set properties for the app bundle
set_target_properties(${APP_NAME} PROPERTIES
    MACOSX_BUNDLE_BUNDLE_NAME "DuneDynasty"
    MACOSX_BUNDLE_GUI_IDENTIFIER "com.example.DuneDynasty"
    MACOSX_BUNDLE_BUNDLE_VERSION "1.0"
    MACOSX_BUNDLE_SHORT_VERSION_STRING "1.0"
)

Do you have any Mac access?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants