Skip to content

fix(runtime,platform): reset bar RC-1 budget, reveal unfocused Wayland occlusion, recover Ctrl+Alt+h/j, and animate move_split - #3194

Merged
Xuepoo merged 2 commits into
mainfrom
ctx-1854/fix-bar-occlusion-movesplit
Nov 16, 2026
Merged

Xuepoo merged 2 commits into
mainfrom
ctx-1854/fix-bar-occlusion-movesplit

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Priority: P1 | Area: area:runtime | Labels: fix, P1, area:runtime | Milestone: v0.1.0 | RFC: OQ-none | Task: CTX-1854

Closes #3191

Summary

  1. RC-1 wall recovery counter reset (crates/bitty-runtime/src/plugin_runtime/mod.rs): Reset wall_recovery_attempts to 0 after HEALTHY_TICKS_RESET_RECOVERY = 10 consecutive non-faulting timer ticks so transient spikes hours apart never permanently disable bitty-terminal.bar.
  2. Wayland unfocused occlusion reveal (crates/bitty-platform/src/app.rs): Allow OcclusionProbe to reveal from native_occluded when compositor frame callbacks resume (RedrawRequested) after NATIVE_OCCLUDED_REDRAW_SETTLE = 100ms, preventing unfocused visible windows from staying frozen on hidden-damage while keeping the bitty#3096 same-iteration guard.
  3. Ctrl+Alt+h/j chord matching (crates/bitty-platform/src/event.rs): Recover base ASCII graphic characters via key_without_modifiers() when XKB/IME collapses Ctrl chords into ASCII control bytes or NamedKey::{Backspace, Enter, Tab, Escape}, without clobbering real Ctrl+Backspace/Ctrl+Enter or shifted punctuation.
  4. Smooth move_split / toggle_split animation (crates/bitty-runtime/src/runtime/layout_focus.rs): Use interpolating set_layout instead of set_layout_committed on tiled move_focused_panel and toggle_focused_split_axis so swapped leaves smoothly animate their bounds over AnimationKind::Move.

…used Wayland occlusion, recover Ctrl+Alt+h/j, and animate move_split
@Xuepoo Xuepoo added this to the v0.1.0 milestone Nov 16, 2026
@Xuepoo Xuepoo added fix Bug fix P1 Priority: high area:runtime Area: runtime orchestration labels Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0a20ee87-66f4-43e1-8b9f-5844cbf1589f
Commits

Reviewing files that changed from the base of the PR and between 5ce903c and 6c1d6bc.

Files selected for processing: 6

  • crates/bitty-platform/src/app.rs
  • crates/bitty-platform/src/event.rs
  • crates/bitty-runtime/src/plugin_runtime/mod.rs
  • crates/bitty-runtime/src/runtime/layout_focus.rs
  • crates/bitty-runtime/tests/panel_animations.rs
  • crates/bitty-runtime/tests/rc1_wall_recovery.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Xuepoo
Xuepoo merged commit e065d42 into main Nov 16, 2026
19 checks passed
@Xuepoo
Xuepoo deleted the ctx-1854/fix-bar-occlusion-movesplit branch November 16, 2026 11:51
Xuepoo added a commit that referenced this pull request Nov 16, 2026
…covery backoff, and fix Ctrl+Alt+h/j keymap (#3193)

* [CTX-1855] fix(runtime): unstick unfocused Wayland occlusion freeze, add RC-1 recovery backoff, and fix Ctrl+Alt+h/j keymap

* [CTX-1855] fix(runtime): address CodeRabbit review feedback on occlusion baseline and recovery deadlines

* [CTX-1855] refactor(terminal): drop duplicate C0 keymap arm superseded by platform normalization

#3194 (e065d42) normalizes control-collapsed XKB/Wayland keys back to their
base ASCII graphic in bitty-platform's translate_key_parts, so every consumer
of the owned KeyEvent already sees 'h'/'j' for Ctrl+Alt+h/j. The terminal-layer
C0 0x01..=0x1a arm duplicated that normalization one layer higher, was broader
than the platform rule (any C0 with Ctrl held, not only control-collapsed
logical keys), and was unreachable in production. Keep the platform
implementation as the single path; retarget the regression test at the
normalized input it now emits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:runtime Area: runtime orchestration fix Bug fix P1 Priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(runtime,platform): fix bar RC-1 recovery reset, Wayland unfocused occlusion reveal, Ctrl+Alt+h/j chord matching, and smooth move_split animation

1 participant