Skip to content

Conversation

glyph
Copy link
Contributor

@glyph glyph commented Dec 22, 2021

Right now on a notchbook, if you disable the global preference "Automatically hide menubar in fullscreen", Textual ignores this and automatically hides the menubar no matter what. Personally I leave this off when using my laptop without an external display (because due to an Apple bug, hiding the menu bar disables the ⌘? shortcut which allows me to type the name of menu items, and "⌘? Connect ⬇️⏎" is a pretty common thing for me to do, particularly when untethered).

Here's one possible fix; I've tested it locally and it fixes it for me. I'm not sure that this is the one you'd actually want to use, since possibly this method was overridden for a reason, but paying attention to the input proposedOptions mask seems like it's probably a good idea in some way.

@glyph
Copy link
Contributor Author

glyph commented Dec 22, 2021

NB the apple bug only affects notched screens for some reason; it works fine if you're fullscreening on a non-notched displays. I've filed FB9745661 with Apple about the issue, but they didn't fix it in 12.1, at least…

@glyph
Copy link
Contributor Author

glyph commented Jan 18, 2022

Anything I can do to make merging this more likely? :)

@kenrachynski
Copy link
Contributor

Not really, Mike will merge when he has time to focus on it. Patience is required.

@emsquared
Copy link
Contributor

Thank you for your contribution. :)

@emsquared emsquared merged commit 7fb0ecf into Codeux-Software:master Mar 22, 2022
emsquared added a commit that referenced this pull request Mar 14, 2023
honor user-specified full-screen presentation options
@glyph glyph deleted the fullscreen-menubar-fix branch July 23, 2023 18:22
@glyph
Copy link
Contributor Author

glyph commented Jul 23, 2023

@emsquared I missed this when it happened, thank you for landing this change!

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

Successfully merging this pull request may close these issues.

3 participants