dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.23k stars 1.76k forks source link

GetPlacemarksAsync when running on Windows causes compiler to keep running upon exit #22690

Open davefxy opened 5 months ago

davefxy commented 5 months ago

Description

When debugging a .Net Maui mobile app on Windows, if I call Geocoding.GetPlacemarksAsync() and I terminate the application, the vs 2022 compiler doesnt stop. I have to select the VS 2022 stop debugging button to terminate the session.

Steps to Reproduce

  1. Open the https://github.com/dotnet/maui-samples/tree/main/8.0/PlatformIntegration/PlatformIntegrationDemos app. Enter a valid Bing Maps API key in the MauiProgram.cs file where indicated.
  2. Start the debug version of the app on windows.
  3. Select the Geocoding entry
  4. Select Detect Placemarks
  5. You should see "Unable to detect PlaceMarks". This never returns anything when I run the app on Windows.
  6. Terminate the app by selecting the 'X' in the upper right corner of the app window.
  7. The compiler's "Stop Debugging" button will still be active. You will need to select this to stop the debugging session.

Link to public reproduction project repository

No response

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Version 17.11.0 Preview 1.0 on windows 11

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 5 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

ninachen03 commented 4 months ago

I can repro this issue on the latest 17.11.0 Preview 2.1 (8.0.60 & 8.0.3). 22690

davefxy commented 4 months ago

Please do. Your demonstration video is perfect


From: ninachen03 @.> Sent: Monday, June 24, 2024 2:29 AM To: dotnet/maui @.> Cc: Davefxy @.>; Author @.> Subject: Re: [dotnet/maui] GetPlacemarksAsync when running on Windows causes compiler to keep running upon exit (Issue #22690)

I can repro this issue on the latest 17.11.0 Preview 2.1 (8.0.60 & 8.0.3). 22690.gif (view on web)https://github.com/dotnet/maui/assets/128687574/1c0b7f6d-bba2-440a-8d49-2520d5e95597

— Reply to this email directly, view it on GitHubhttps://github.com/dotnet/maui/issues/22690#issuecomment-2185913370, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATSQ2TO2LNCXW4H5W35I3LZI7KE5AVCNFSM6AAAAABINNV262VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVHEYTGMZXGA. You are receiving this because you authored the thread.Message ID: @.***>

DennisWelu commented 2 months ago

Also have been seeing this and hoping for this thread to trigger a fix. @davefxy or anyone have you figured out any kind of "workaround"?