Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow (or noticeable) font resize when resizing a window #5623

Closed
kormosi opened this issue Oct 26, 2022 · 1 comment
Closed

Slow (or noticeable) font resize when resizing a window #5623

kormosi opened this issue Oct 26, 2022 · 1 comment
Labels

Comments

@kormosi
Copy link

kormosi commented Oct 26, 2022

Describe the bug
When resizing a window in which kitty runs, there's around 0.5 seconds delay before the font "snaps" into it's correct and epxected
size.

I don't remember this happening before.

To Reproduce
Steps to reproduce the behavior:

  1. Quickly resize the kitty window (or spawn/close another window that causes kitty to resize)
  2. See error

Screenshots

  1. Two kitty windows opened side-to-side:
    image

  2. Kill the right window, i3 tries to fill the whole screen with kitty window, the font gets stretched:
    image

  3. After around 0.5 seconds, the font "snaps" back to proper size:
    image

Environment details

kitty 0.26.4 created by Kovid Goyal
Linux arch 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64
Arch Linux 6.0.2-arch1-1 (/dev/tty)

Running under: X11
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /usr/bin/zsh

Config options different from defaults:

Important environment variables seen by the kitty process:
	PATH                                /home/patres/code/shell:/home/patres/code/screenlayout:/home/patres/.cargo/bin:/home/patres/.local/bin:/home/patres/.pyenv/shims:/home/patres/.pyenv/bin:/home/patres/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
	LANG                                en_US.UTF-8
	VISUAL                              nvim
	EDITOR                              nvim
	SHELL                               /usr/bin/zsh
	DISPLAY                             :0
	USER                                patres
	XDG_SEAT                            seat0
	XDG_SESSION_TYPE                    tty
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            1
	XDG_SESSION_ID                      1
	XDG_RUNTIME_DIR                     /run/user/1000

Additional context
I was able to reproduce the problem with kitty --config NONE.
I run kitty under archlinux, X11, with the picom compositor. I was able to reproduce the issue even when I disabled picom.
Other windows (programs) under i3 don't show this resizing problem, that's why I think this is kitty.

Thank you very much for this awesome and reliable piece of software and thank you for your help!

@kormosi kormosi added the bug label Oct 26, 2022
@kovidgoyal
Copy link
Owner

dup of #5601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants