-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build Swift Windows app using swift-winui but with the latest Windows App SDK 1.5.4 ? #175
Comments
@litewrap the |
@litewrap these have been updated. I'll file an action item to create proper releases rather than relying on the main branch |
Thanks @stevenbrix, I am now able to build Swift WinUI app using the latest 1.5 SDK. To be sure my build use the latest installed SDK, I first removed all installed SDKs, and reboot. I also tried a very very minimal app with empty window no UI elements just empty window. The app launch with empty window and the wait cursor appears for 5 seconds. For comparison, when I launch the Arc Browser app on Windows there is no wait cursor at all, the normal cursor is showed Any ideas for a workaround or a fix? Thanks, |
We haven't run into such wait cursor issues at The Browser Company. The Swift projection is unlikely to introduce such an issue, but you could verify by creating an equivalent app in C#. Otherwise, this is likely a problem in WinUI / Windows App SDK or your app's use of it, for which you could get support on Microsoft's repos: |
@litewrap i'll take a look. I hadn't noticed this before |
@litewrap i do see this, and it does repro in C# if i change the project to run unpackaged, so this seems to be a bug with WinUI or windows app sdk when running unpackaged. Arc is installed as an MSIX, so that's why you don't see this issue |
Thanks a lot Steve for taking the time trying to reproduce. On my side I also reproduce the same with the sample C# and C++ WinUI default project with MS Visual Studio, on various PC real and VM. I now understand why Arc installed as MSIX doesn't show this. So nothing related with Swift on Windows or the projections, good to know. Thanks again ! |
The actually available swift-winui package seems tied to the Windows App SDK 1.5/1.5.240205001-preview1.
My experiments apps builds with swift-winui works well except for the busy cursor always showed for few seconds on app launch.
Some search and it seems this know issue in WinUI3 was fixed in most recent version.
So, I would like to build Swift Windows app using swift-winui but using the latest Windows App SDK 1.5.4 (1.5.240607001) and see if the busy cursor problem is fixed.
How can I do that ?
Thanks
The text was updated successfully, but these errors were encountered: