Background Opacity should not work in native fullscreen mode in MacOs #5986
Unanswered
BuriP
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently according to the ghostty documentation, the
background-opacity
on macOs when in native fullscreen is disabled:On macOS, background opacity is disabled when the terminal enters native fullscreen. This is because the background becomes gray and it can cause widgets to show through which isn't generally desirable.
However , there seems to be a bug (maybe), or the potential to "hack" a feature, that causes the
background-opacity
option to actually work in native fullscreen in macOs. This happens to me when:control+cmd+q
Once the laptop is unlocked, the previously existing terminal tabs have the correct option of
background-opacity
even in native fullscreen. Even if a new tab is created in the same window, that tab will also be transparent (or have thebackground-opacity
option set). You can even runneovim
or similar with that background.However there are some caveats. This does not always consistently happen or the background does not always fully show. The more the sleep time the higher the probability. Closing the lid works better than
control+cmd+q
(at least from me trying it out). When creating a new terminal window, the background works as expected.See below some images where:
The

background-opacity
option works on native fullscreen on with a single tab (notice half the background is missing)The

background-opacity
option works on native fullscreen on a new tab created in the same windowThe

background-opacity
option works on native fullscreen on with a single tab (NO BACKGROUND MISSING)I have looked at other discussions/issues, and although some are related in a way, see #3553 or #2545, I decided to open a discussion as it is more specific and I wanted to give a relatively exhaustive description.
Notice also that desktop widgets do not appear!!
My current config relevant to this is:
If an issue were to be created, I would love to handle it If possible, although I'm quite a junior (hopefully at least for now 💪 💪 ). Regardless , thought it is a cool opportunity or insight on how to maybe enable (or fix otherwise)
background-opacity
in native fullscreen for MacOs.Beta Was this translation helpful? Give feedback.
All reactions