Automatic light / dark theme switching is not fully working #10398
Unanswered
andreynering
asked this question in
Issue Triage
Replies: 2 comments 1 reply
-
|
I am having the same issue on Linux running KDE Plasma. Any tab with Neovim open when the theme changes is stuck with the background of the previous theme. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
i am also having this issue, except it seems to occur when i have a neovim tab open and the theme switches while the computer is asleep 2026-04-03.at.12.44.57.mp4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
This is a quite annoying bug that has been happening on Ghostty for quite some time. On #9743 it is said it was supposedly fixed recently, but for me that bug is still happening.
I have this in my config:
I use Ghostty on macOS and I use Nightfall to be able to quickly switch between light and dark themes with a single click.
Most of the time it works as expected, but at a random way some specific panels don't switch. When it happens, switching back-and-forth a second time between light and dark themes don't usually work. You really have to close that panel or tab and open a new one.
Expected Behavior
Themes should switch as expected:
Actual Behavior
Some panels or tabs don't really switch:
Reproduction Steps
While writting this discussion and trying to reproduce it, I discovered that I can reproduce it by opening and closing a TUI app on that panel. Once you do that, the theme won't switch automatically from that point forward.
This probably means the bug is related to the fact some TUIs set a custom background color while running.
Ghostty Logs
No response
Ghostty Version
OS Version Information
macOS Tahoe 26.2
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
theme = dark:Dracula,light:AlucardMy Ghostty config is here: https://github.com/andreynering/ghostty
Beta Was this translation helpful? Give feedback.
All reactions