[Bug]: When I have more than one panel open in the same tab and resize the panel, it causes this bug
Operating system
Windows
Orca version
v1.4.30.0
Details
I'm using an SSH connection to connect to my WSL. The shell I use in WSL is zsh. When I have more than one panel open and try to resize them, the bug shown in the screenshot below occurs.
This still needs a reproducible layout sequence before a safe fix. Please add a short screen recording or exact pane split/resize steps, whether this is Windows desktop connecting to WSL over Orca SSH or a local WSL path, and any console errors. If possible, include the serialized tab/pane layout from the workspace session immediately before and after the resize glitch.
This still needs a reproducible layout sequence before a safe fix. Please add a short screen recording or exact pane split/resize steps, whether this is Windows desktop connecting to WSL over Orca SSH or a local WSL path, and any console errors. If possible, include the serialized tab/pane layout from the workspace session immediately before and after the resize glitch.
@nwparker See if this screen recording I made using Loom helps illustrate the issue: https://www.loom.com/share/185be4db5da04ae98ee8b1bf8cad2ebb
I reproduced this locally from the Loom sequence: start with one terminal pane, split it into two panes in the same tab, then drag the internal terminal divider repeatedly. Before the fix, the shell prompt redrew repeatedly during the drag, matching the Loom/issue screenshot behavior. Evidence captured locally: /tmp/orca-issue-2910/loom.mp4, /tmp/orca-issue-2910/issue-screenshot.png, /tmp/orca-issue-2910/repro-after-drag.png.
Fixed in PR #3325: https://github.com/stablyai/orca/pull/3325. The root cause was every xterm fit during divider drag being forwarded to the backing PTY as a resize, which triggers SIGWINCH prompt redraws; the fix holds PTY resize forwarding while the divider is actively dragged and flushes only the settled pane size on release. After the fix, the same repeated drag emitted only the final resize per pane and left the prompt clean: /tmp/orca-issue-2910/fix-fresh-after-drag.png.
Validation:
pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/pane-manager/pane-pty-resize-hold.test.ts src/renderer/src/lib/pane-manager/pane-divider.test.tsSKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-panes.spec.ts --config tests/playwright.config.ts --project=electron-headful -g "settled PTY size" --workers=1pnpm run lintpnpm run typecheckgit diff --check HEAD~1 HEADgit merge-tree --write-tree origin/main HEAD