-
Notifications
You must be signed in to change notification settings - Fork 391
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
Resuming app on Windows Phone 10 display infinite "please wait" ring #397
Comments
You will have to wait for version 1.0.9. In that version the issue is fixed. Otherwise you can download it here from GitHub and build it yourself. |
I just downloaded the latest source and added as libs rather than nuget in our project but this changes nothing. It works mabe 1 or 2 times in a row (means app resume correctly) but then the splashscreen opens forever... |
We saw also another issue concerning the resuming of apps on the phone. On resume, apps restart on the first page like if it was not a resume. it should resume on last opened page like the way works with standard universal app template. This is not only in our project. I just tested with T10 BottomAppBar and Minimal sample; they both resume on start page. |
You're absolutely right. The app is always resuming on the start page and not on the last opened page and I also see the splashscreen forever after a few tries. Seems like the bug hasn't been fixed yet. I didn't notice that at first look. Hopefully someone can look into this... |
And the big problem is that this never happens in debug mode. When the device is connected and I run the application I can suspend and resume as often as I want, everything works just fine. When I unplug the cable the splash screen stays forever when I navigate to a page, suspend the app and resume it again. |
Yes it is still happening.. Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.Threading.dll |
I tried adding if (exception is TaskCanceledException) To my void App_UnhandledException(object sender, UnhandledExceptionEventArgs e) |
I'm also seeing this issue on Win10 Mobile and on occasion Win10 Desktop. |
Any @Windows-XAML/contributors have any help on this one? |
So I have noticed some quirks coding on Windows 10 mobile especially with fast resume, etc. I'm working on shipping an app right now (not based on T10) - once I get that out of the door I'll see if I can track down the glitches with Mobile. |
Add this two methods to your app.xaml.cs, and it should help, remove them when 1.0.9 will hit release.
|
Thank you xorch ... made my day! |
I think this solution makes Resume not work anymore, right? |
@xorch, in the current code base I have removed WindowWrapper.ClearNavServices() which might be what you are relying on in your comment above. Could you help me understand the issue here? |
note the relationship between the fix here and #457 |
I've been doing some tests trying to fix this and so far this seems to work also when resuming (tested only on Desktop):
|
What's the functional difference between this and the Clear logic in place today? |
The clear logic doesn't let you resume to a page other than main (e.g. after being suspended in tablet mode). The logic that I posted lets you resume and also start new. |
gotchya. how does it work on mobile? |
I've only tested in using the mobile emulator (10586) and it behaves exactly as the desktop. To elaborate some more on what I ment by "it doesn't let you resume" if you use "Clear()":
If you use my snippet, you can resume on Main, Categories or Products or even restart the app though the tile icon (even while being suspended) and everything behaves as expected. |
Resolved. |
Hi,
I was thinking this issue was in our code, but I just deploy the "Mimimal" template to both my Lumia 1520 and also a Lumia 950 both running latest WP10 insider preview version.
To repro it,
-just launch once the app.
-Press "Home"
-launch again the app.
the app just not display a white page containing the splash screen with a "please wait" ring running forever.
I have recorded with my web cam 2 videos (1 with minimal template and 1 with our apps doing same issue); both are copied in our OneDrive: http://1drv.ms/1YVpFY3
This is a show stopper for us
Thanks for any help
-Vince
The text was updated successfully, but these errors were encountered: