Describe the bug
The kitty window resizes when another window is focused. This only happens when hide_window_decorations is set to yes.
To Reproduce
Steps to reproduce the behavior:
- arragne the kitty window to use half of the screen: Super+left arrow
- Focus any other window by clicking it
Actual:
The kitty window resizes itself to the default size.
Expected:
The kitty window should keep its size.
Environment details
kitty 0.24.4 created by Kovid Goyal
Linux trv7544 5.16.12-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 02 Mar 2022 12:22:53 +0000 x86_64
Arch Linux 5.16.12-zen1-1-zen (/dev/tty)
DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: Wayland
Frozen: False
Paths:
kitty: /usr/bin/kitty
base dir: /usr/lib/kitty
extensions dir: /usr/lib/kitty/kitty
system shell: /usr/bin/zsh
Loaded config files:
/home/phoffmeister/.config/kitty/kitty.conf
Config options different from defaults:
enable_audio_bell False
font_family Fira Code
font_size 14.0
hide_window_decorations 1
remember_window_size False
Colors:
background #1e1f28
color1 #ff5555
color10 #50fa7b
color11 #f0fa8b
color12 #bd92f8
color13 #ff78c5
color14 #8ae9fc
color2 #50fa7b
color3 #f0fa8b
color4 #bd92f8
color5 #ff78c5
color6 #8ae9fc
color7 #bbbbbb
color8 #545454
color9 #ff5454
cursor #bbbbbb
foreground #f8f8f2
selection_background #44475a
selection_foreground #1e1f28
Important environment variables seen by the kitty process:
PATH /usr/local/bin:/usr/bin:/usr/local/sbin
LANG en_US.UTF-8
SHELL /usr/bin/zsh
DISPLAY :0
WAYLAND_DISPLAY wayland-0
USER phoffmeister
XDG_MENU_PREFIX gnome-
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_CLASS user
XDG_RUNTIME_DIR /run/user/1000
XDG_DATA_DIRS /home/phoffmeister/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
Additional context
I noticed that this bug is tied to hide_window_decorations. When set to yes the bug is present. When set to no it is not.
Describe the bug
The kitty window resizes when another window is focused. This only happens when
hide_window_decorationsis set toyes.To Reproduce
Steps to reproduce the behavior:
Actual:
The kitty window resizes itself to the default size.
Expected:
The kitty window should keep its size.
Environment details
Additional context
I noticed that this bug is tied to
hide_window_decorations. When set toyesthe bug is present. When set tonoit is not.