Dark band behind the sidebar's glass while the mouse moves over the right pane (prod) #603

Closed
opened 2026-10-19 08:13:20 +00:00 by kayg · 3 comments
Owner

kayg, 2026-10-19 ~13:00 IST, production calternal.cloud (Settings → Appearance, dark, Photo backdrop, desktop browser on macOS): a dark vertical band appears behind the right side of the sidebar's glass while the mouse moves through the right pane. Reported before during mockup round 4 ("band behind the sidebar still appears on random hovers") and fixed in the mockup then; it's in the app now.

kayg, 2026-10-19 ~13:00 IST, production calternal.cloud (Settings → Appearance, dark, Photo backdrop, desktop browser on macOS): a dark vertical band appears behind the right side of the sidebar's glass while the mouse moves through the right pane. Reported before during mockup round 4 ("band behind the sidebar still appears on random hovers") and fixed in the mockup then; it's in the app now.
Author
Owner

Cause: Settings' card (.content) carried box-shadow: var(--shadow-frame) (0 16px 40px -14px, 0.6 black in dark), which reaches 46 px past the card. CDP LayerTree showed its compositor layer at 1262x972 for a 1170x880 card, i.e. 36 px (10 px gap + 26 px) laid over the right edge of the sections sidebar, above the sidebar's backdrop-filter glass. Every hover in the card repaints that layer, so its shadow re-rasterised on top of the sidebar: the dark strip. (#494's contain: paint on the tiles only covered tile hovers.) Fix: the shadow moved to .content::after with clip-path inset(-100px -100px -100px 0), so nothing paints left of the card; layer is now 1216x972. Not reproduced pixel-wise: headless chromium/webkit (software raster) show no change in the sidebar before or after; the layer overlap is the evidence. New e2e/sidebar-band.spec.ts sweeps the pointer over ~45 stops (Settings, Notes list, a note open; dark+photo) and pixel-diffs the sidebar, plus asserts the card has no own box-shadow. Passes chromium-1440 + webkit-1440. Branch issue/sidebar-band.

Cause: Settings' card (`.content`) carried `box-shadow: var(--shadow-frame)` (0 16px 40px -14px, 0.6 black in dark), which reaches 46 px past the card. CDP LayerTree showed its compositor layer at 1262x972 for a 1170x880 card, i.e. 36 px (10 px gap + 26 px) laid over the right edge of the sections sidebar, above the sidebar's backdrop-filter glass. Every hover in the card repaints that layer, so its shadow re-rasterised on top of the sidebar: the dark strip. (#494's contain: paint on the tiles only covered tile hovers.) Fix: the shadow moved to .content::after with clip-path inset(-100px -100px -100px 0), so nothing paints left of the card; layer is now 1216x972. Not reproduced pixel-wise: headless chromium/webkit (software raster) show no change in the sidebar before or after; the layer overlap is the evidence. New e2e/sidebar-band.spec.ts sweeps the pointer over ~45 stops (Settings, Notes list, a note open; dark+photo) and pixel-diffs the sidebar, plus asserts the card has no own box-shadow. Passes chromium-1440 + webkit-1440. Branch issue/sidebar-band.
Author
Owner

Landed in train AI, #626.

Landed in train AI, #626.
Author
Owner

Closing during the 26 Oct handover cleanup: Landed in train AI (#626).

Closing during the 26 Oct handover cleanup: Landed in train AI (#626).
kayg closed this issue 2026-10-26 08:46:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#603
No description provided.