Terminal windows momentarily shrink and break tiling layout during clipboard operations

Aperta
#1,819 6 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
linux, typescript

Direzione di ricerca

First reproduce the geometry change with wl-copy and wl-paste in Kitty, Foot, or WezTerm while tiling is enabled, then compare it with clipboard use from Yazi and Neovim. Inspect how pop-shell handles the affected terminal windows under Mutter on Wayland. Done means clipboard operations no longer resize the active window or corrupt the tiling layout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

https://github.com/user-attachments/assets/8f35fcd7-2d86-46a2-95be-e6c3680f1dbb

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
Lingua principale
TypeScript
Stelle
5.3k
Fork
318
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pop-os/shell

Tutte le issue di pop-os/shell

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.