Skip to content

Release outgoing photos and preserve WebKit virtual list alignment - #503

Merged
rafaelaugustos merged 3 commits into
mainfrom
fix/release-outgoing-avatar
Dec 4, 2026
Merged

rafaelaugustos merged 3 commits into
mainfrom
fix/release-outgoing-avatar

Conversation

@rafaelaugustos

Copy link
Copy Markdown
Contributor

Clearing an avatar URL after a successful load could leave the old photo painted over the initials. Both the loaded photo and the initials are valid settled states, so watching only that flag missed the change. Web, NativeScript and desktop now also observe which photo is leaving. Image views release the previous frame after its fade, including an empty source on AppKit and XAML.

The existing avatar regression now passes in Chromium and WebKit. The mobile replacement probe checks the decoded photo, clears it, then verifies that only the initials remain. Normal and reduced motion passed on iOS and Android. The AppKit gallery verifies that clearing either an avatar or an image removes the old native image view.

Refs #457.

Web image reveals and exits share their motion runtime, and Vue changes visibility while Jolt owns opacity. This prevents a conflict when the image changes under reduced motion or while an itinerary is switching. Measured virtual lists also account for WebKit implementations that truncate fractional scroll positions. The Linux CI image reproduced a 0.75 CSS pixel sliver of the preceding row at key 7777. The corrected alignment keeps 7777 first. The image-reveal, itinerary-switch and virtual-feed cases that failed on Linux now pass on that image.

The local library check passed with 1,386 passing and three skipped unit tests. Hosted checks for this revision are still running.

@rafaelaugustos
rafaelaugustos merged commit 6752ad8 into main Dec 4, 2026
40 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant