'MSIX Application does not start until start menu interaction

I am building an MSIX application for windows 10 with a .wapproj project. On some machines (primarily laptops it seems), the application does not start after the user clicks it in the start menu. Instead nothing happens until the user either clicks on the start menu again, or on the windows search bar. Once the user interacts with either of these the application instantly starts up. Our testers have tried waiting for up to half an hour so it is not an issue with loading times. On machines that are affected the issue seems to reproduce every time. The application can be downloaded here (https://application-downloads.azurewebsites.net/) if anyone wants to try to reproduce this for themselves.

I apologise for this question being somewhat vague and perhaps more appropriate to a bug report but I am totally stumped and don't even know who to report it to. On one hand I can't see how my code could possibly cause this, but on the other I have never seen this issue in any other application (it is worth noting I have not been able to find another sideloaded msix application to test with). Even if it is not an issue with my code I don't know if it is a problem with the MSIX framework, the appinstaller application or windows itself.

Any suggestions are appreciated.



Solution 1:[1]

Try to see if the machines reproducing the problem have something in common. Maybe they are all on a certain version of the Windows 10, or they all have the same Windows 10 Defender security updates, etc....

A good place to start is also in the appx logs, available in Event Viewer.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bogdan Mitrache