Skip to content

The text variation selector breaks display #8794

Description

@wrvsrx

Describe the bug

It's a continuation of #8731 and #8782. Text variation selector still looks strange in kitty. I build kitty from source using latest src (35d3b63).

To Reproduce

Steps to reproduce the behavior:

  1. printf "\u26ab\ufe0e\u4e00\u4e00\u4e00\u4e00\u4e00\u26ab\ufe0e"

  2. kitty 0.42.1 hangs forever and kitty (35d3b63) renders incorrectly.

    First image is output of kitty (It's run by <kitty> --config NONE) and second image is the output of alacritty.

    output of kitty

    output of alacritty

Screenshots

See the picture above

Environment details

Following is the output of kitty (35d3b63)

kitty 0.42.1 created by Kovid Goyal
Linux dormitory 6.12.35 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jun 27 10:11:46 UTC 2025 x86_64

<<< Welcome to NixOS 25.11.20250701.2d02575 (x86_64) - /dev/tty >>>

Run 'nixos-help' for the NixOS manual.

DISTRIB_CODENAME=xantusia
DISTRIB_DESCRIPTION="NixOS 25.11 (Xantusia)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="25.11"
LSB_VERSION="25.11 (Xantusia)"
Running under: Wayland (niri 25.05.1-wrvsrx-patched.01) missing: blur single_pixel_buffer icon bell window-tag
OpenGL: '3.1.0 NVIDIA 570.169' Detected version: 3.1
Frozen: False
Fonts:
  medium: CascadiaCode-Regular: /nix/store/6zzn8kz7jr41n66n9l88hrvhw0gy7siy-home-manager-path/share/fonts/truetype/CascadiaCode-Regular.ttf:0
          Features: ()
    bold: CascadiaCode-SemiBold: /nix/store/6zzn8kz7jr41n66n9l88hrvhw0gy7siy-home-manager-path/share/fonts/truetype/CascadiaCode-SemiBold.ttf:0
          Features: ()
  italic: CascadiaCode-Italic: /nix/store/6zzn8kz7jr41n66n9l88hrvhw0gy7siy-home-manager-path/share/fonts/truetype/CascadiaCode-Italic.ttf:0
          Features: ()
      bi: CascadiaCode-SemiBoldItalic: /nix/store/hmrzb0cxvpx1xqf0vnn4dayrjyi6485q-cascadia-code-2407.24/share/fonts/opentype/CascadiaCode-SemiBoldItalic.otf:0
          Features: ()
Paths:
  kitty: /nix/store/h24gs7b7120rpd82y93a14pg9qcal2c5-kitty-0.42.1-unstable-2025-07-09/bin/kitty
  base dir: /nix/store/h24gs7b7120rpd82y93a14pg9qcal2c5-kitty-0.42.1-unstable-2025-07-09/lib/kitty
  extensions dir: /nix/store/h24gs7b7120rpd82y93a14pg9qcal2c5-kitty-0.42.1-unstable-2025-07-09/lib/kitty/kitty
  system shell: /run/current-system/sw/bin/bash
System color scheme: dark. Applied color theme type: none

Config options different from defaults:

Important environment variables seen by the kitty process:
	PATH                                /nix/store/vsva7nmdsyybi9k62l0l6w69c0hsfga5-statix-0.5.8/bin:/nix/store/axxwqjccm0wvcs5drg1r1k4h642gp78k-generate-android-config/bin:/nix/store/9n2kpw089x4fxyn5fij8sgy2hghrq4am-treefmt-2.3.1/bin:/nix/store/hdjjs5fs09y09ddsslv4dvpfqi6yk8wa-taplo-0.10.0/bin:/nix/store/g0bf72nxvwdicr2nfliq8ffqycyw01y5-fourmolu-0.15.0.0/bin:/nix/store/7wn2mvashig4784hcxxn152hcb0z3w4i-ruff-0.12.1/bin:/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0/bin:/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin:/nix/store/sa7j7cddyblhcb3ch3ds10w7nw75yjj1-gcc-14.3.0/bin:/nix/store/mdmsnfcvxyk5ynz7nx8nhss1wig0gljx-glibc-2.40-66-bin/bin:/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7/bin:/nix/store/cadx5p7c0i06gf6h84iw9mrhx56imbv0-binutils-wrapper-2.44/bin:/nix/store/z3za8hfc24wb117s50p8b10agjkgm039-binutils-2.44/bin:/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7/bin:/nix/store/c14zwgl8hf1wm0izij2i16xvk8ak70cy-findutils-4.10.0/bin:/nix/store/ibx4jfwlhjg4g0s6rrxrpaxa3ka8ns4m-diffutils-3.12/bin:/nix/store/pr318zsl44jdwpk9wk0sdrn19b6in7ah-gnused-4.9/bin:/nix/store/bc6zxzjnkjp4r9nhz5imy3cypvdh6r4n-gnugrep-3.12/bin:/nix/store/nv3y7zb1cwz1h9qy7nwz0s54j8dl1kqj-gawk-5.3.2/bin:/nix/store/lp82dcnrzljyix6yigwzrlpr1smvpmb0-gnutar-1.35/bin:/nix/store/6ag5dhk7sma61p6vl0kazfmpbrq08nqh-gzip-1.14/bin:/nix/store/ykdv4id6893gmkqwdmbimq237c1xqvq7-bzip2-1.0.8-bin/bin:/nix/store/6bwp1y45zlyvpr4ja2sk1yi9v5mrs94x-gnumake-4.4.1/bin:/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin:/nix/store/c9xmgszbf6i4dfq9r953khk9d7fdqigw-patch-2.8/bin:/nix/store/ikfwx7kbwz9zr7fziiac7f57jgbh3bnv-xz-5.8.1-bin/bin:/nix/store/3pdmbqy86wsbjdazxv1n3vrmj60vn0ri-file-5.45/bin:/home/wrvsrx/Documents/sync/.direnv/bin:/run/wrappers/bin:/home/wrvsrx/.nix-profile/bin:/nix/profile/bin:/home/wrvsrx/.local/state/nix/profile/bin:/etc/profiles/per-user/wrvsrx/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/nix/store/18834s94kgmrm2xn1f3pi75b4frx8sq1-kitty-0.42.1/bin:/nix/store/3rvn3p974bi9llyfr1sjrg02911l52b7-imagemagick-7.1.1-47/bin:/nix/store/a9nkmnva7vam9awlkn8ri3fa0kq93frn-ncurses-6.5-dev/bin:/nix/store/h24gs7b7120rpd82y93a14pg9qcal2c5-kitty-0.42.1-unstable-2025-07-09/bin:/nix/store/3rvn3p974bi9llyfr1sjrg02911l52b7-imagemagick-7.1.1-47/bin:/nix/store/a9nkmnva7vam9awlkn8ri3fa0kq93frn-ncurses-6.5-dev/bin
	LANG                                C.UTF-8
	EDITOR                              nvim
	SHELL                               /run/current-system/sw/bin/bash
	GLFW_IM_MODULE                      ibus
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-1
	USER                                wrvsrx
	XCURSOR_SIZE                        16
	XDG_CONFIG_DIRS                     /nix/store/4f2pnrdyf3xkwpc6vxzq6pvjf5kj6pv4-stylix-kde-config:/etc/xdg:/home/wrvsrx/.nix-profile/etc/xdg:/nix/profile/etc/xdg:/home/wrvsrx/.local/state/nix/profile/etc/xdg:/etc/profiles/per-user/wrvsrx/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg
	XDG_STATE_HOME                      /home/wrvsrx/.local/state
	XDG_DOCUMENTS_DIR                   /home/wrvsrx/Documents
	XDG_CONFIG_HOME                     /home/wrvsrx/.config
	XDG_VTNR                            7
	XDG_SYNC_DIR                        /home/wrvsrx/Syncthing
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_CURRENT_DESKTOP                 niri
	XDG_DATA_HOME                       /home/wrvsrx/.local/share
	XDG_DATA_DIRS                       /nix/store/kamf5nwh25ryqlds3h7bdbq56qxz0jg5-vector-0.13.2.0/share:/nix/store/4ivjsfpbpb1yvnmlvc2hl1cw2bywrjzf-attoparsec-0.14.4/share:/nix/store/zk9a7qan53w6g96crgwjm8xwg0r0vk6i-libyaml-clib-0.2.5/share:/nix/store/7wn2mvashig4784hcxxn152hcb0z3w4i-ruff-0.12.1/share:/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0/share:/home/wrvsrx/.nix-profile/share:/nix/profile/share:/home/wrvsrx/.local/state/nix/profile/share:/etc/profiles/per-user/wrvsrx/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share
	XDG_SESSION_DESKTOP                 wayland-session
	XDG_CACHE_HOME                      /home/wrvsrx/.cache
	XDG_SESSION_ID                      4
	XDG_SESSION_TYPE                    wayland
	XDG_SEAT                            seat0
	XDG_DOWNLOAD_DIR                    /home/wrvsrx/Downloads

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions