Repository navigation
Conversation
A blur behind the sticky top bar and the fixed bottom tabs makes the compositor re-blur what scrolls under them on every frame, which is the main source of scroll stutter. Use the opaque page background instead (the bars were already 86-90% opaque, so the look barely changes) and a slightly darker scrim for modals. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
5 of 6 tasks
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.
Performance. Scrolling the app or backup list stutters in the WebView. The sticky
.topbarand the fixed.tabsusebackdrop-filter: saturate(140%) blur(10-12px), so every scrolled frame the compositor has to blur again whatever passes under both bars..topbarand.tabsuse the opaquevar(--bg)instead of 86% / 90%color-mixplus blur. Since the bars were already mostly opaque, the dark and light themes look nearly the same (side-by-side screenshot checked).blur(2px)and goes from.66to.72alpha.Measurements
Playwright mock harness (shoot.py fixtures, 300 apps), headless Chromium with 6x CPU throttle, scrolling 40 px per frame for 120 frames, 3 runs each. Frame time p50 / p95 / max:
Desktop headless Chromium is not an Android WebView, so expect the gain on a phone to differ. Not tested on a rooted device.