Skip to content

Exiting full screen Shows Window Decoration when it is disabled in the kitty config. #6883

Closed
@surya-sh

Description

@surya-sh

Describe the bug
In MacOS when exiting full screen using the green traffic light causes the window decoration to come back even though the hide_window_decorations is set to titlebar-only. But this behaviour was not observed when shortcuts were used to exit the full screen i.e Control + Command + F.

To Reproduce
Steps to reproduce the behavior(In MacOS):

  1. Set hide_window_decorations titlebar-only in kitty config and refresh
  2. Enter full screen using any method
  3. Exit full screen using the green traffic light
  4. See top lift corner

Screenshots
Screenshot 2023-12-03 at 10 22 12

Environment details
I don't think Error log will be of much use but nonetheless here it is

kitty 0.31.0 (b247fda672) created by Kovid Goyal
Darwin Suryas-MacBook-Air.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 22:19:17 PST 2023; root:xnu-10002.61.2.505.1~2/RELEASE_ARM64_T8112 arm64
ProductName:		macOS ProductVersion:		14.2 BuildVersion:		23C5055b
Frozen: True
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /Users/surya/.config/kitty/kitty.conf

Config options different from defaults:
allow_remote_control    yes
background_blur         56
background_opacity      0.45
bold_font               ComicCodeLigatures Nerd Font Bold
bold_italic_font        ComicCodeLigatures Nerd Font Bold Italic
font_family             ComicCodeLigatures Nerd Font SemiBold
font_size               12.0
hide_window_decorations 2
italic_font             ComicCodeLigatures Nerd Font SemiBold Italic
listen_on               unix:/tmp/mykitty
remote_control_password:
***Super Duper Secret Password***
symbol_map:
	U+21b5 - U+21b5 → MesloLGS NF
	U+23fb - U+23fe → MesloLGS NF
	U+25b8 - U+25b8 → MesloLGS NF
	U+2605 - U+2605 → MesloLGS NF
	U+2630 - U+2630 → MesloLGS NF
	U+2632 - U+2632 → MesloLGS NF
	U+2665 - U+2665 → MesloLGS NF
	U+26a1 - U+26a1 → MesloLGS NF
	U+2714 - U+2714 → MesloLGS NF
	U+2b58 - U+2b58 → MesloLGS NF
	U+e000 - U+e00d → ComicCodeLigatures Nerd Font SemiBold
	U+e0a0 - U+e0a2 → ComicCodeLigatures Nerd Font SemiBold
	U+e0a3 - U+e0a3 → MesloLGS NF
	U+e0b0 - U+e0b3 → ComicCodeLigatures Nerd Font SemiBold
	U+e0b4 - U+e0c8 → MesloLGS NF
	U+e0cc - U+e0d2 → MesloLGS NF
	U+e0d4 - U+e0d4 → MesloLGS NF
	U+e200 - U+e2a9 → ComicCodeLigatures Nerd Font SemiBold
	U+e300 - U+e3eb → MesloLGS NF
	U+e5fa - U+e62b → ComicCodeLigatures Nerd Font SemiBold
	U+e615 - U+e615 → MesloLGS NF
	U+e62b - U+e62b → MesloLGS NF
	U+e700 - U+e7c5 → ComicCodeLigatures Nerd Font SemiBold
	U+f000 - U+f2e0 → ComicCodeLigatures Nerd Font SemiBold
	U+f27c - U+f27c → MesloLGS NF
	U+f300 - U+f313 → ComicCodeLigatures Nerd Font SemiBold
	U+f400 - U+f4a8 → MesloLGS NF
	U+f500 - U+fd46 → MesloLGS NF
tab_bar_style           powerline
window_margin_width     FloatEdges(left=3.0, top=2.0, right=0, bottom=0)
Added shortcuts:
	ctrl+h →  kitten pass_keys.py neighboring_window left   ctrl+h
	ctrl+j →  kitten pass_keys.py neighboring_window bottom ctrl+j
	ctrl+k →  kitten pass_keys.py neighboring_window top    ctrl+k
	ctrl+l →  kitten pass_keys.py neighboring_window right  ctrl+l
Colors:
	active_border_color     #444444   
	active_tab_background   #dddddd   
	active_tab_foreground   #222121   
	color0                  #222121   
	color10                 #86b42b   
	color11                 #ffe792   
	color13                 #f92672   
	color14                 #66d9ef   
	color15                 #f9f8f5   
	color2                  #a6e22e   
	color3                  #fd971f   
	color5                  #ae81ff   
	color6                  #005bbb   
	color8                  #777777   
	inactive_tab_background #222121   
	inactive_tab_foreground #999999   
	selection_background    #0d73cc   

Important environment variables seen by the kitty process:
	PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
	LANG                                en_US.UTF-8
	SHELL                               /bin/zsh
	USER                                surya

Additional
Thanks for making such an awesome project I really love it 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions