Created attachment 16000 [details]
In a Master-Detail Page hosted in a Navigation Page with a Navigation Page set as the Detail, inserting a page before the Navigation Page's current page and calling PopToRootAsync during OnAppearing causes the Detail page contents to disappear on iOS phone devices. This behvior also occurs on iOS tablet devices if the Master-Detail Page's MasterBehavior property is set to MasterBehavior.Split. This behavior does not occur on tablets with MasterBehavior.Popover.
This all works fine on Android.
Steps to reproduce:
1. Run the attached repro project
2. Click "Test with NavigationPage".
The detail section of the new page will display briefly, then disappear.
Created attachment 25078 [details]
Partially updated repro for VS2017 for Mac, XF 184.108.40.2062
The important thing is that the repro builds in VS2017 for Mac now, and it is still valid for the iOS build, showing the same problem that was originally reported.
I am tracking related bad behavior with master/detail pages. This bug report is similar to one that I need to build a repro for, but a little different. In the course of determining the differences, I updated it to build for iOS using Visual Studio for Mac 2017, which is not compatible with Xamarin.Forms 2.3.0, as you are well aware.
I had to fix some bad references to the packages directory, which were specified with "..\..\packages", which need to be "..\packages" for the structure of the solution.
The Droid project does not build at all - it appears to reference private symbols that aren't present in the new XF, if I had to guess (I didn't look at that for long).
Visual Studio Professional 2017 for Mac
Version 7.1.5 (build 2)
Installation UUID: f7c6b058-ca10-4406-a8c7-565894bf8552
Mono 220.127.116.11 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
SDK Version: 1.0.3
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Version: 18.104.22.168 (Visual Studio Professional)
Android SDK: /Users/e840944/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 26.0.0
SDK Build Tools Version: 25.0.3
Java SDK: /usr
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Android Designer EPL code available here:
Apple Developer Tools
Xcode 9.0 (13247)
Version: 22.214.171.124 (Visual Studio Professional)
Build date: 2017-09-15 02:25:56-0400
Version: 126.96.36.199 (Visual Studio Professional)
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1
Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
Enabled user installed addins
Gist Ide Information 1.1.0
NuGet Package Management Extensions 0.12.3
xUnit.NET 2 testing framework support 0.7.5
I did file the bug report that I believe is related to this one. To complete the circle of links, here it is: https://bugzilla.xamarin.com/show_bug.cgi?id=59932