-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship-side part of the Mac fullscreen fix #5060
base: develop
Are you sure you want to change the base?
Conversation
This reverts commit 124687a.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after looking at this and the LUS PR i'm not quite following the logic here
what i understand:
- this changes the meaning of the windowed fullscreen cvar on mac
- this hides the toggle when in fullscreen on mac
i guess my main question is when would someone want to check the box vs not check the box? does just always using macos native fullscreen for fullscreen not work?
Exclusive mode enabled the direct rendering mode on macOS instead of just the composited rendering mode. The reason to keep the button at the moment is to not remove a feature that someone potentially might want to use, it is at least useful for testing and it keeps a sort of feature parity with the other operating systems. But as it is currently, exclusive fullscreen is the default which is not ideal in a macOS context, thus I am inverting the CVAR on LUS and correcting the name on ship. |
i'm still not fully understanding why someone would want to use one or the other
why is this not ideal? and my last question is about hiding the toggle when in fullscreen - that just feels like strange UX to me |
We hide the toggle because otherwise we end up fullscreening twice if the fullscreen mode changes when in native fullscreen mode. This is a way to keep the behaviour consistent while keeping the mouse cursor hiding functionality when the imGUI menu is visible or hidden. |
@Archez and/or @garrettjoecox probably have a better sense of the "why* for these things. my main hangup is inverting the cvar so on mac it means the opposite of what the value implies. |
The other option would be to have the checkbox enabled by default, but I feel like that is a worse inconsistency. |
who advised against that? did they give a reason? it sounds to me like just always using native fullscreen on mac is the logical choice |
I can't remember, my memory doesn't keep information like that usually. |
i'd want to hear what @Archez and/or @garrettjoecox think about that idea first, but that feels reasonable to me |
Changes to SohMenuBar.cpp needed to remove fullscreen mode toggle when in fullscreen and change the toggle text from windowed fullscreen to exclusive fullscreen.
Thanks @ReddestDream for making the fullscreen toggle fix.
Dependent on:
Kenix3/libultraship#817
Build Artifacts