Repository navigation
Studio: show the chat background in conversations on Windows at 100% scaling - #16702
Conversation
|
Pushed 7fcc7c7 (test wording only, no CSS change): the Checked in Chromium at |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Review loop done on 7fcc7c7.
|
Lyxot
left a comment
There was a problem hiding this comment.
LGTM. Fixes the hidden chat background at Windows <150% scaling; the no-background case is unchanged. Codex clean, staging CI green.
At Windows display scaling below 150%, the chat background shows on the new-chat screen and in the Settings previews but not in an open conversation. The low-device-scale scrolling rule from #13255 paints
.aui-thread-viewportsolid so Chromium will scroll it on the compositor, and that rule beats the background's translucent thread fill. The glass backdrop with no image is affected the same way.The solid fill now applies only when no chat background or glass backdrop is shown (
html:not([data-chat-wallpaper-ready])). With a background on, the thread gives up compositor scrolling at that scale, because a see-through scroller can't have it. The gutter and overflow settings from #13255 are unchanged. Linux, macOS and Windows at 150% or higher never match this rule, which is why they were already fine.Tested in Unsloth Desktop 0.1.915-beta on Windows 11 at 100% scaling with Liquid Glass 3D. Before the fix the thread computes to
rgb(24,24,24). After it, the thread computes to the expected translucent mix and the image shows at the configured "Visibility in conversations". With the background removed, the thread is solid again.tests/desktop-webkit-paths.test.tsasserts the new split.Before / after (Unsloth Desktop 0.1.915-beta, Windows 11, Liquid Glass 3D, the same conversation and background in all four, real Windows display scaling at 100% and 175%). "After" is the installed build with this PR's CSS change applied in the running page. At 100% the thread computes to
rgb(24,24,24)before and to the translucent wallpaper fill after. At 175%data-low-device-scaleis off, so the rule never applied and nothing changes.