fix(desktop): synchronize floating chat morph - #16
Merged
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_7ae568f5-3c2b-4f31-ab26-d88cc9f0b94d) |
RenanMev
marked this pull request as ready for review
August 13, 2026 17:24
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.
O que mudou
resizee dois frames de pintura do WebView no viewport final;Por quê
O
SetWindowPosnativo e a transição CSS podiam ser aplicados no mesmo frame. Em uma janela transparente, esse desencontro podia revelar o desktop e fazer os componentes piscarem durante abertura ou fechamento.Impacto
A abertura e o fechamento do Quick Center e do checklist ficam mais estáveis, sem reintroduzir redimensionamento frame a frame no Rust.
Validação
pnpm --filter @linvo/desktop test -- --run src/lib/floating-island-transition.test.ts src/lib/floating-quick-menu-mode.test.ts src/lib/floating-checklist-mode.test.ts src/components/floating-island-shell.test.tsx src/BarApp.test.tsx— 49 testes passarampnpm --filter @linvo/desktop typecheck— passoupnpm --filter @linvo/desktop build— passouNote
Low Risk
Desktop-only UI timing and CSS animation changes; no auth, data, or backend impact, with existing tests covering the floating transition paths.
Overview
Fixes desktop flash and flicker when the floating bar expands into Quick Center or the checklist: native
SetWindowPoscould complete while WebView2 still laid out the old viewport, so the CSS island morph started in the same frame as the resize and the transparent window briefly showed the desktop.Adds
waitForIslandViewportPaint, which waits for aresizethat matches the target geometry, then two animation frames, with a short timeout—wired through a newonViewportReadyhook on island expand flows (after bounds commit, beforeonResizeStart/ morph activation). Quick Center drops the staggered child enter animations on.quick-center-panel-readyso they no longer fight the shell morph.Reviewed by Cursor Bugbot for commit 8ac6edf. Configure here.