Terminal windows momentarily shrink and break tiling layout during clipboard operations
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- linux, typescript
- Domain
- desktop, operating-systems
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Enable tiling mode
- Open any terminal with a tiled layout
- Run any of the following:
wl-copyorwl-pastedirectly in the terminal- Copy a file path in Yazi (file manager)
- Yank text in Neovim
- 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-copyandwl-paste - Also triggered by any application that uses
wl-clipboardinternally (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 |
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pop-os/shell
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Tiled window is spontaneously moved/resized several seconds after its dialog window closes (X11)Open
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day