Repository navigation
Build the chat view before the first session opens - #2910
Draft
nortonandreev wants to merge 2 commits into
Draft
nortonandreev wants to merge 2 commits into
nortonandreev wants to merge 2 commits into
Conversation
Styles and templates apply only inside a visual tree, so the warm-up chat joins the window transparent for one frame instead of being built detached. KCAP_APP_NO_PREWARM=1 skips it, for timing the cold path.
Tab and find reached the transparent view's controls, and its removal dropped focus mid-typing. Folded tool groups realize no call rows, so groups are opened.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
Qodana for .NET3 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This was referenced Nov 18, 2026
This branch has not been deployed
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.
Closes #2735 — AI-5625
What & why
The first session opened after launch paid for building the chat view's styles and templates. A warm-up chat view now joins the window, transparent and keyboard-inert, for one frame after start-up, so those costs are paid before the first click.
KCAP_APP_NO_PREWARM=1turns it off for timing.Where to look
Styles and templates apply only inside a visual tree, so the warm-up view cannot be built detached. Folded tool groups realize no call rows, so the warm-up opens its groups. Tab and find must not reach the warm-up's controls.
Verification
Tart VM (macOS 26, 4 vCPU, 4 GB), 13,505-event session, cold restart then idle, 3 rounds alternating builds. Transcript on screen, upper bound, median:
KCAP_APP_NO_PREWARM=1No gain measured in this guest. Here the open is dominated by reading the whole stream, which #2908 removes. The warm-up should be re-measured on top of that.