Bug 50090 - Pushing (async) a page and press Back button almost at the same time creates a bug in the NavigationStack in iOS
Summary: Pushing (async) a page and press Back button almost at the same time creates ...
Status: RESOLVED DUPLICATE of bug 39908
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-12-15 11:10 UTC by fabien.lheriau
Modified: 2016-12-29 00:19 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 39908

Description fabien.lheriau 2016-12-15 11:10:15 UTC
If you are in a page (FirstPage) with a button which can push async another page (SecondPage) : 

pressing the button and just after pressing the back button of the page (top left) creates a bug in the NavigationStack.
Indeed, after that actions, visually you are in the FirstPage with the button as expected but the NavigationStack still have two pages the first and the second. The CurrentPage of the NavigationPage is the SecondPage, the page which is visually popped. Also, the event Popped is not raised for the SecondPage.

This bug is happening on iOS but not on Android !
I'm joining a simple project with 3 pages, you can test the specific action in the SecondPage and see the different pages in the NavigationStack and the CurrentPage after that.
Comment 1 fabien.lheriau 2016-12-15 13:16:16 UTC
https://github.com/lheriaufabien/POC-Xamarin-BugiOS
Comment 2 adrianknight89 2016-12-15 15:19:34 UTC
I think this is a duplicate of https://bugzilla.xamarin.com/show_bug.cgi?id=39908.
Comment 3 fabien.lheriau 2016-12-15 16:53:22 UTC
It seems that it was fixed in the version mentionned there (2.3.3-pre2) but with both 2.3.3.168 and 2.3.3.175 versions : it is not working anymore.
Comment 4 adrianknight89 2016-12-23 01:50:48 UTC
That's because the fix wasn't proper and 39908 was reopened.
Comment 5 fabien.lheriau 2016-12-23 08:15:43 UTC
Yes I've seen this later, sorry for that. Do you have any idea how long it could take to fix the problem ?
Comment 6 Samantha Houts [MSFT] 2016-12-29 00:19:49 UTC

*** This bug has been marked as a duplicate of bug 39908 ***