Skip to content

Terminal windows momentarily shrink and break tiling layout during clipboard operations #1819

Description

@Argus-Khan

Bug Description

Whenever wl-clipboard performs a clipboard operation, the active terminal window briefly shrinks for a split second. This occasionally corrupts the tiling layout.

This did not always happen and appears to have started recently.

Steps to Reproduce

  1. Enable tiling mode
  2. Open any terminal with a tiled layout
  3. Run any of the following:
    • wl-copy or wl-paste directly in the terminal
    • Copy a file path in Yazi (file manager)
    • Yank text in Neovim
  4. Observe the terminal window briefly shrink and occasionally snap into a broken tiling layout

Expected Behavior

Clipboard operations should have no effect on window geometry or tiling layout.

Actual Behavior

The active terminal window shrinks momentarily during any wl-clipboard operation. This occasionally causes the tiling layout to break and requires manual correction.

issue-recording.mp4

Additional Notes

  • Tested across three different terminals: Kitty, Foot, and WezTerm — issue occurs in all of them
  • Tested with wl-copy --foreground — makes no difference
  • Affects both wl-copy and wl-paste
  • Also triggered by any application that uses wl-clipboard internally (confirmed with Yazi and Neovim)
  • Compiled pop-shell from the latest git repo to check if it was already fixed — issue persists
  • Screen recording attached

Environment

OS Fedora Linux 44 (Workstation Edition) x86_64
Host Dell OptiPlex 3070
Kernel 7.0.11-200.fc44.x86_64
GNOME 50.2
WM Mutter (Wayland)
pop-shell version 2 (also tested latest git build)
wl-clipboard version 2.2.1
Terminals tested Kitty 0.47.1, Foot, WezTerm
GPU Intel UHD Graphics 630 (Integrated)
Display Dual monitor — 2x 2560x1440 @ 60Hz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions