neovide.neovide/lua
Alexsander Falcucci 09ba278bcd
fix: don't clear hidden window titles (#3403)
First, we now set a sane default window title

we already handle title updates from nvim, but the default startup
behavior was still effectively "call everything Neovide" until
otherwise.

that's not very useful.

now, if the user hasn't configured either 'title' or 'titlestring', we enable
titles and use "%F" so the window follows the current path. *but we don't
override user configuration. if either option was already set, we leave it alone.

---

The second, "title-hidden" means "don't show the title", not "make the window
stop having one"

On macOS we got that wrong. when title hiding was enabled, we hid the
title visually and then also **cleared** the underlying NSWindow title by
setting it to an empty string.

That broke the native bookkeeping for secondary windows. The window itself
was created fine and the native tab showed up, but AppKit no longer had
a real title to use for the Window menu entry. So the second window
ended up effectively unnamed there.

we fix it by leaving the NSWindow title alone. keep the title hidden from
the titlebar, but preserve it for the platform APIs that actually need
it.
2026-03-15 21:06:07 +01:00
..
exit_handler.lua Enabled remapping of Command+Q on macOS (#3048) 2025-03-17 09:46:16 +01:00
init.lua fix: don't clear hidden window titles (#3403) 2026-03-15 21:06:07 +01:00