Skip to content

Splits layout move_to_screen_edge with a single window #7621

@sandman7920

Description

@sandman7920

When we have a single window in splits layout and then execute move_to_screen_edge layout_action, a new split will produce 1 additional dead (unusable) window.
The normal state can be restored after one more move_to_screen_edge action.

To Reproduce
Steps to reproduce the behavior:

  1. goto in splits layout
  2. execute move_to_screen_edge action
  3. create a split (ctrl+shift+enter)
  4. See error

Screenshots
image

Environment details

kitty 0.35.2 created by Kovid Goyal
Linux telamon 6.9.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 05 Jul 2024 22:11:24 +0000 x86>
Arch Linux 6.9.8-arch1-1 (/dev/tty)

DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: Wayland (kwin 6.1.2) missing: single_pixel_buffer
OpenGL: '4.6 (Core Profile) Mesa 24.1.3-arch1.1' Detected version: 4.6
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/bash
Loaded config files:
  /home/nik/.config/kitty/kitty.conf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions