warp icon indicating copy to clipboard operation
warp copied to clipboard

.gif background support

Open youssefhussein opened this issue 2 years ago • 5 comments

Dupe Check

Describe the solution you'd like?

In the themes options I can choose my own local background image but it only allows .jpeg and .png. :cry: I would love if the background can support animated .gif as well. The windows terminal can do it super smoothly. Thanks!

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

2

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

youssefhussein avatar Jul 26 '24 22:07 youssefhussein

+1 A native solution would be amazing along with feature that can cycle between images and gifs as background if possible.

DKB0512 avatar Aug 16 '24 20:08 DKB0512

+1, would love to see this as well

mikoreal-at-appfire avatar Nov 20 '24 11:11 mikoreal-at-appfire

+1, still want this

Midge-dev avatar Feb 13 '25 23:02 Midge-dev

+1 for gifs

neuralgitwork avatar Apr 24 '26 19:04 neuralgitwork

Hi! While digging into this, I found that .gif background images already work structurally in the current code — SerializedBackgroundThemeImage doesn't validate the file extension on deserialization, so a .gif path loads fine even though the theme picker UI only exposes .jpeg/.png. The catch: they render but don't animate. The background-rendering call site in app/src/workspace/view.rs (the main terminal window) was missing the enable_animation_with_start_time() call that other animated-image call sites in the codebase already use (e.g. the changelog viewer at changelog_section.rs:153), so GIFs just freeze on their first frame.

I put together a one-line fix for that freeze bug on a branch here: https://github.com/niyasrad/warp/commit/df3217e93801648b056ae3bf2b71f40d822f963a. cargo check -p warp passes; I wasn't able to do a full local visual build to confirm the animation on-screen (my dev machine doesn't have the RAM Warp's CI runners do), so I'd want help verifying that visually before/if this lands.

This doesn't fully close this issue on its own — the theme picker UI would still need updating to actually let users select .gif files — but it removes the "animation is broken" problem for whoever picks that up. Happy to open a PR for the animation fix specifically, or fold it into a broader ".gif support" PR if that's preferred. Let me know how you'd like to sequence it.

niyasrad avatar Aug 01 '26 04:08 niyasrad