Skip to content

Window Titles should be Tab Titles in macOS #3893

@Ducky6944

Description

@Ducky6944

Describe the bug
In macOS if I start kitty like this open -a kitty.app -n --args --single-instance --title="quake" -o tab_title_template="quake" I get a window tab title that is named quake and if I open new tabs they continue to be named quake. However subsequent tabs despite being named quake in the tab bar are not recognized by their tab name and instead are listed as zsh. This prevents me from setting rules for them properly in my window manager yabai.

To Reproduce
Steps to reproduce the behavior:

  1. open -a kitty.app -n --args --single-instance --title="quake" -o tab_title_template="quake"
  2. open new tab with cmd + t
  3. Tab bar says quake, but window title becoms zsh.

Screenshots
Screen Shot 2021-08-02 at 9 01 01 AM

  • With One Tab open you can see in the menu bar at the top it says quake. This is as expected.

Screen Shot 2021-08-02 at 9 00 56 AM

- With two tabs the menu bar now says zsh. This is unexpected in the tab bar of kitty it does say quake which you will see in the subsequent photos.

Screen Shot 2021-08-02 at 9 00 50 AM

- With two tabs you can see the Tab bar shows that the tab name is quake, but in the dock kitty shows zsh as the name of the window

Screen Shot 2021-08-02 at 9 00 42 AM

- Again with one tab you see in the dock kitty is named quake as expected.

Environment details

kitty 0.22.0 created by Kovid Goyal
Darwin Brandons-MacBook-Air-ARM.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 arm64
ProductName:	macOS ProductVersion:	11.5.1 BuildVersion:	20G80
Loaded config files:
  /Users/brandon/.config/kitty/kitty.conf
Loaded config overrides:
  tab_title_template quake

Config options different from defaults:
active_border_color     Color(red=239, green=207, blue=185)
active_tab_background   Color(red=239, green=207, blue=185)
active_tab_foreground   Color(red=12, green=14, blue=59)
allow_remote_control    y
background              Color(red=12, green=14, blue=59)
bell_border_color       Color(red=229, green=47, blue=103)
bold_font               VictorMono Nerd Font Medium
bold_italic_font        VictorMono Nerd Font Medium Italic
cursor                  Color(red=239, green=207, blue=185)
font_family             VictorMono Nerd Font
font_size               14.0
foreground              Color(red=239, green=207, blue=185)
hide_window_decorations 2
inactive_border_color   Color(red=12, green=14, blue=59)
inactive_tab_background Color(red=12, green=14, blue=59)
inactive_tab_foreground Color(red=239, green=207, blue=185)
italic_font             VictorMono Nerd Font Italic
macos_option_as_alt     3
tab_bar_edge            1
tab_bar_margin_height   TabBarMarginHeight(outer=1.0, inner=1.0)
tab_bar_style           powerline
tab_title_template      quake
window_padding_width    FloatEdges(left=5.0, top=5.0, right=5.0, bottom=5.0)

Additional context
I have to use some options to set the title but this does continue to occur only setting the title or tab_title_template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions