Warpified Docker bash subshell causes warp icon in dock to bounce consistently
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Discord username (optional)
No response
Describe the bug
The Warp Terminal icon on the dock would bounce consistently on an interval (every ~25s) when a warpified bash subshell is active and the focus is away from the terminal.
This seems to only happen when the warpified subshell is bash. When I tried it wish zsh it did not cause the icon "bounce" behavior.
To reproduce
I've reproduced it consistently whenever I open an interactive docker bash shell and warpify it. Here are the minimal steps to reproduce:
- Make sure you have Docker running
- Run
docker run --rm -it alpinein Warp - Install bash in the alpine container:
apk update && apk add bash - In another pane in Warp, open a bash shell into the container:
docker exec -it <container_name> /bin/bash - Warpify the subshell
- Change the focus away from Warp
- Icon starts bouncing at some consistent interval
Related Notes:
- It seems to add a new line to the first alpine shell running, that could be related.
- When I enable the bell sound in Warp, it makes the sound whenever the Warp icon bounces
Expected behavior
The icon should not bounce or make sounds when a Warpified subshell is running.
Screenshots
Here is a screen recording of reproducing the bug:
https://github.com/warpdotdev/Warp/assets/6829768/e6de37d1-154d-4dcf-b097-ace6d5ac0c19
Operating system
MacOS
Operating system and version
Sonoma 14.3
Shell Version
zsh 5.9 (x86_64-apple-darwin23.0) on my machine
Current Warp version
v0.2024.01.30.16.52.stable_01
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
I'm not sure if this is a new bug or regression, but I only started noticing since I recently wanted to do some shell work inside docker containers and activated the Warpified subshell.
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
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.
Research direction
No source files or tests are identified. Start by reproducing the Docker bash and Warpify steps, then compare the behavior with zsh while observing the dock bounce, added line, and bell sound; done means the active Warpified bash subshell produces none of these notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, docker
- Domain
- cli, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100