Uh oh!
There was an error while loading. Please reload this page.
Fix/revert windows capsule qa acrylic - #496
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Reverts the apply_acrylic blocks from Open-Less#487. Full-window Acrylic tinted the 220×84 capsule hitbox, causing a visible dark rectangle around the pill on light backgrounds. Co-authored-by: Cursor <cursoragent@cursor.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
HKLHaoBin
commented
May 18, 2026
HKLHaoBin
commented
May 18, 2026
目前正在测试回退该提交后的构建效果,需要等我测试构建完成后,再决定是否合并这个 PR。 |
Update: ignore my previous fork-followup route. We decided not to route this through The clean upstream path is now the reopened direct PR: #497 carries the same intended fix on top of latest |
Uh oh!
There was an error while loading. Please reload this page.


摘要
Fixes#487。
fix(windows): 移除胶囊与 QA 浮窗的整窗 Acrylic 黑边这个 PR 只解决一个问题:Windows 上
capsule和qa宿主窗口套用了整窗 Acrylic,导致透明宿主被染成明显的深色矩形,录音胶囊和 QA 浮窗外侧出现大块黑边。本次改动回退这两处 Acrylic,仅保留原有的透明宿主 + 前端白色可见内容层。修复 / 新增 / 改进
capsule窗口的apply_acrylic(...)qa窗口的apply_acrylic(...)main的 Mica 路径不变,不扩大这次修复范围兼容
不包含:
不调整
capsule/qa的尺寸、阴影 inset、动画、焦点策略或主窗口材质方案不处理
windows-ui-config.test.mjs里现存的主窗口旧断言漂移问题对现有用户 / 本地环境 / 构建流程的影响:
Windows 下胶囊和 QA 浮窗将不再使用整窗 Acrylic,避免出现整块深色宿主矩形
现有前端白色 pill / 白色 QA 卡片样式保持不变
不引入新的配置项、依赖或构建步骤变更
测试计划
命令:
node openless-all/app/scripts/windows-ui-config.test.mjs结果:确认本次改动未影响既有窗口配置与胶囊几何相关契约;如失败,单独记录当前已知的主窗口旧断言漂移,不作为本 PR 阻塞项
证据路径:
openless-all/app/scripts/windows-ui-config.test.mjs命令:Windows 本机启动应用,触发录音胶囊
结果:胶囊外围不再出现整块深色矩形,仅保留白色圆角 pill
证据路径:录屏 / 截图,重点对比浅色背景下的胶囊宿主边界
命令:Windows 本机打开 QA 浮窗
结果:QA 浮窗不再出现整块深色宿主底;允许轻微透桌面作为当前可接受 trade-off
证据路径:录屏 / 截图,重点查看卡片外侧是否仍有整窗染色