Bug 41085 - Detail page contents disappear on iOS
Summary: Detail page contents disappear on iOS
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-05-13 23:55 UTC by E.Z. Hart [MSFT]
Modified: 2017-10-03 18:05 UTC (History)
3 users (show)

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

Repro project (2.94 MB, application/x-zip-compressed)
2016-05-13 23:55 UTC, E.Z. Hart [MSFT]
Partially updated repro for VS2017 for Mac, XF (216.53 KB, application/zip)
2017-10-03 16:59 UTC, George Josh Karabin

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 for Bug 41085 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description E.Z. Hart [MSFT] 2016-05-13 23:55:14 UTC
Created attachment 16000 [details]
Repro project

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.
Comment 1 George Josh Karabin 2017-10-03 16:59:15 UTC
Created attachment 25078 [details]
Partially updated repro for VS2017 for Mac, XF

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 (d15-3/14f2c81) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000224


.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
SDK: /usr/local/share/dotnet/sdk/1.0.3/Sdks
SDK Version: 1.0.3
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

Version: 1.5.5
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Version: (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)
Build 9A235

Version: (Visual Studio Professional)
Hash: 152b654a
Branch: xcode9
Build date: 2017-09-15 02:25:56-0400

Version: (Visual Studio Professional)

Xamarin Inspector
Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1

Build Information
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

Operating System
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

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
Comment 2 George Josh Karabin 2017-10-03 18:05:26 UTC
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