[UWP] Why Do Images Sometimes Load Wrong Source

Kyle Rudd 11 Reputation points
2020-11-24T21:58:33.713+00:00

We have an issue where images in our UWP app are sometimes getting loaded with the wrong image and sizing. The first time the images seem to load correctly, but then sometimes the images will be wrong after leaving a page and coming back. This seems to happen all over the app and happens with multiple kinds of image load code. Examples of problem: ![42334-incorrect-pre-check-1.png][1] ![42335-incorrect-pre-check-2.jpg][2] ![42235-incorrect-workspace.png][3] Correct Workspace: ![42342-correct-workspace.png][4] Code Examples Where It Has Broken: ![42361-code-example-1.png][5] ![42236-code-example-2.png][6] [1]: /api/attachments/42334-incorrect-pre-check-1.png?platform=QnA [2]: /api/attachments/42335-incorrect-pre-check-2.jpg?platform=QnA [3]: /api/attachments/42235-incorrect-workspace.png?platform=QnA [4]: /api/attachments/42342-correct-workspace.png?platform=QnA [5]: /api/attachments/42361-code-example-1.png?platform=QnA [6]: /api/attachments/42236-code-example-2.png?platform=QnA

Universal Windows Platform (UWP)
{count} votes