thebrowsercompany / windows-samples

Sample Apps for Swift on Windows
MIT License
262 stars 13 forks source link

Wait cursor showed for 5 seconds on app launch #18

Closed litewrap closed 2 months ago

litewrap commented 3 months ago

How to avoid the wait cursor to appear on Swift WinUI apps? The wait cursor appears in the sample app for about 5 seconds regardless building for debug or release.

The Swift WinUI package is great and I am using it with success for various small Swift Windows GUI apps, but like the sample demo app, the wait cursor always appears for 5 seconds when the app started.

When I launch the Arc Browser app on Windows the normal cursor appears instantly, no wait cursor at all. I expect the apps we build with the Swift WinUI package will behave the same as the Arc Browser app on launch.

Any idea?

Thanks

litewrap commented 2 months ago

Finally this issue is not related with Swift or the projections. https://github.com/thebrowsercompany/swift-winrt/issues/175