warpdotdev / warpdotdev/warp

Window resize glitching on Ubuntu

Open
#4,363 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:window-tabs-panes bug os:linux ready-to-implement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

kubijo

Describe the bug

The window resizing is glitching both the background and in content of the terminal window.
The content of the window seems to act in reverse to the resize direction

To reproduce

See the screencast.

Expected behavior

No response

Screenshots

Note that the built-in ubuntu screen recording tool also does not seem to play well with the way you render the window.
What you don't see here is that the area of the terminal window outside the crop-out is completely black while recording.

Screencast from 2024-02-27 09-31-27.webm

Operating system

Linux

Operating system and version

Ubuntu 23.10

Shell Version

GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

v0.2024.02.20.08.01.stable_02

Additional context
  • nvidia-driver-535 (proprietary, tested)
  • x11 session
Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the glitch on Ubuntu 23.10 in an X11 session with the NVIDIA 535 driver, using the linked screencast as a reference. Trace the terminal window's resize and rendering behavior; done means resizing no longer reverses content movement, glitches the background, or leaves the surrounding area black.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.