Repository navigation
fix(runtime,platform): reset bar RC-1 budget, reveal unfocused Wayland occlusion, recover Ctrl+Alt+h/j, and animate move_split - #3194
Merged
Conversation
…used Wayland occlusion, recover Ctrl+Alt+h/j, and animate move_split
|
Warning Review limit reachedYou'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. View limit details
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. |
…KS_RESET_RECOVERY
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Priority: P1 | Area: area:runtime | Labels: fix, P1, area:runtime | Milestone: v0.1.0 | RFC: OQ-none | Task: CTX-1854
Closes #3191
Summary
crates/bitty-runtime/src/plugin_runtime/mod.rs): Resetwall_recovery_attemptsto0afterHEALTHY_TICKS_RESET_RECOVERY = 10consecutive non-faulting timer ticks so transient spikes hours apart never permanently disablebitty-terminal.bar.crates/bitty-platform/src/app.rs): AllowOcclusionProbeto reveal fromnative_occludedwhen compositor frame callbacks resume (RedrawRequested) afterNATIVE_OCCLUDED_REDRAW_SETTLE = 100ms, preventing unfocused visible windows from staying frozen onhidden-damagewhile keeping the bitty#3096 same-iteration guard.Ctrl+Alt+h/jchord matching (crates/bitty-platform/src/event.rs): Recover base ASCII graphic characters viakey_without_modifiers()when XKB/IME collapsesCtrlchords into ASCII control bytes orNamedKey::{Backspace, Enter, Tab, Escape}, without clobbering realCtrl+Backspace/Ctrl+Enteror shifted punctuation.move_split/toggle_splitanimation (crates/bitty-runtime/src/runtime/layout_focus.rs): Use interpolatingset_layoutinstead ofset_layout_committedon tiledmove_focused_panelandtoggle_focused_split_axisso swapped leaves smoothly animate their bounds overAnimationKind::Move.