Closed J-Povea21 closed 1 week ago
I'm seeing this also on Linux (very stock/vanilla Fedora 40 with Wayland, Gnome). Importantly, it seems to only happen with third-party themes, the built-in ones I tried are fine.
My best guess is that it's caused by third-party themes not yet implementing the title_bar.inactive_background
colour introduced in #14266 and released in 0.145.1.
That said, falling back to transparency in this case feels like a bug. Without being familiar with Zed's code at all, I'd expect it should probably use a saner default (maybe the corresponding One Dark/Light value?)
Seeing the same on vanilla Ubuntu 24.04 (Wayland, on GNOME) on Zed Preview 0.146.0
By the way, I noticed the same also happens when you move/drag an actively focused Zed window around.
My best guess is that it's caused by third-party themes not yet implementing the title_bar.inactive_background colour
This is indeed 99% likely to be the correct answer and should be reported to the repo of whatever theme you are using.
(arguably it would also be good if zed had an opaque fallback for that key)
this line in settings.json should be helpful
"experimental.theme_overrides": { "title_bar.inactive_background": "#2d2d2d" }
Check for existing issues
Describe the bug / provide steps to reproduce it
When Zed is open and you're working on it, everything seems normal. However, when you open another window - and therefore Zed lost 'focus' - the titlebar gets transparent
Environment
Zed: v0.145.1 (Zed) OS: Linux Wayland fedora 40 Memory: 7.5 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
https://github.com/user-attachments/assets/71d09963-8c92-4b64-b967-040f0f5dd930
If applicable, attach your Zed.log file to this issue.
Zed.log