Windows 11 has its own bug
https://www.bleepingcomputer.com/news/microsoft/microsoft-says-bug-causes-windows-10-apps-to-display-open-with-dialogs/
Microsoft has confirmed that Windows 10 apps will mistakenly display an "How do you want to open this file?" dialog box when attempting to right-click on the program's icon and perform a registered task.
Windows apps can be registered to offer different tasks to run when you right click on the program's icon in the Start Menu or taskbar.