microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.32k stars 676 forks source link

Implicit animations don't work when exiting full screen mode while performing page navigation. #5022

Open dpaulino opened 3 years ago

dpaulino commented 3 years ago

Describe the bug If you are exiting full screen mode while performing a page navigation, the implicit animations on the destination page do not reliably trigger. This leads to UI elements that have 0 opacity or other strange states (because their animations didn't trigger).

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Clone this repo: https://github.com/dpaulino/BrokenImplicitAnimation
  2. Follow the steps in the readme

Expected behavior

We expect the implicit animations to reliably trigger when exiting full screen mode while performing page navigation.

Screenshots

Please watch this video showing the bug: https://streamable.com/txogay. This video is using the app repo that is linked above in the reproduction steps.

Version Info

NuGet package version: Not using WinUI, but it's using composition APIs.

Windows app type: UWP Win32
Yes
Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2020 Update (19042) Yes
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

dpaulino commented 3 years ago

Note that an interesting workaround is to disable page animation when navigating back. This workaround is specified in the repo I linked. Is this by design? What's the official story here? I will add that I went 6 months not knowing about this workaround and being very confused why my UI elements have been disappearing randomly.

StephenLPeters commented 3 years ago

@jeffstall FYI

dpaulino commented 1 year ago

Bump