Pane opening animation should not flash the default pane backdrop #10252

Open
opened 2026-01-31 02:16:29 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Aug 21, 2020).

follow up to #7364

When we open a new pane there's a brief time when you can see the pane background color as the new pane slides in. This is because we immediately create the Row/Col definitions, so even if we animate the first pane getting smaller, the first pane only has half the parent grid to render into.

A solution we could do is use the background brush from the first child as the background of the parent pane, until the animation is finished. Then revert back to transparent. This will make the backgroud behind the pane sliding in look like it's the same as the first pane. This won't really help for background images, but I think this is a reasonable compromise.

Originally created by @zadjii-msft on GitHub (Aug 21, 2020). ##### follow up to #7364 When we open a new pane there's a brief time when you can see the pane background color as the new pane slides in. This is because we _immediately_ create the Row/Col definitions, so even if we animate the first pane getting smaller, the first pane only has half the parent grid to render into. A solution we could do is use the background brush from the first child as the background of the parent pane, until the animation is finished. Then revert back to transparent. This will make the backgroud behind the pane sliding in look like it's the same as the first pane. This won't _really_ help for background images, but I think this is a reasonable compromise.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10252