-
Notifications
You must be signed in to change notification settings - Fork 451
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
macOS: exiting fullscreen does not restore background-opacity #3553
Comments
@mitchellh this is not a GTK issue. It is only occurring on Mac. I wonder if it is a dupe of #3324. |
I can definitely reproduce this one Macos and I suspect
Also, just reloading the config makes it blur again |
I just tried it with #3347 checked out and the opacity is not being restored when exiting native fullscreen. Edit: after more troubleshooting, it seems that the didExitFullScreenNotification notification (which is needed to recompute the style for the surface) is not firing when using the toggle_fullscreen keymap to exit native fullscreen (even though the didEnterFullScreenNotification notification is triggered by entering native fullscreen), I'll keep investigating. It seems that the *FullScreenNotification listeners are unregistered sometime during the toggle_fullscreen action firing for the first time since all subsequent resizings no longer fire the notifications until the config is reloaded |
FWIW @gigamonster256's fix moves the ownership of listening to the fullscreen toggle from FullscreenStyles to |
When entering fullscreen mode with
cmd-ctrl-f
the background is not transparent anymore, as expected. But when I exit fullscreen mode the same way again, the originalbackground-opacity
value is not restored, or at least the background is not transparent anymore.Screenshots:
Before fullscreen
Fullscreen
After exiting fullscreen
Config
Device: MacBook Pro 13" M1
OS: Macos 15.2
Version: Ghostty 1.0.0
~/.config/ghostty/config
:The text was updated successfully, but these errors were encountered: