Skip to content
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

Reloading configuration on macOS can get the tab bar stuck in light mode #3354

Open
Samasaur1 opened this issue Dec 27, 2024 · 3 comments
Open
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos

Comments

@Samasaur1
Copy link

Samasaur1 commented Dec 27, 2024

When the following conditions are true:

  • macOS
  • light and dark themes set
  • in dark mode

and the configuration is reloaded, the tab bar gets stuck in light mode for all newly-created windows and when new tabs are added to existing windows.

Reproduction:

  1. Set your ghostty config to this:
    theme = light:catppuccin-latte,dark:catppuccin-mocha
    
  2. Quit Ghostty
  3. Switch to Dark Mode
  4. Reopen Ghostty
  5. Reload configuration (shift-command-,)
  6. New tab (command-t)
  7. The tab bar should now be in light mode

To temporarily fix the issue, switch into light mode and then back into dark mode

@Samasaur1 Samasaur1 changed the title Reloading configuration on macOS with light and dark themes set while in dark mode Reloading configuration on macOS can get the tab bar stuck in light mode Dec 27, 2024
@Samasaur1
Copy link
Author

Image

@Samasaur1
Copy link
Author

I'm able to reproduce this on Ghostty 1.0.0 (commit 4b4d406) with a config file made up of the above snippet and nothing else

@mitchellh mitchellh added os/macos gui GUI or app issue regardless of platform (i.e. Swift, GTK) labels Dec 27, 2024
@Samasaur1
Copy link
Author

This same behavior also seems to happen when the system theme changes while my computer is asleep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos
Projects
None yet
Development

No branches or pull requests

2 participants