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

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


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

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 2.4.0.282

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

	Package version: 502000224

NuGet
Version: 4.3.0.2418

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	1.1.1
	1.0.4
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

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

Xamarin.Android
Version: 7.4.5.1 (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:
https://github.com/xamarin/AndroidDesigner.EPL

Apple Developer Tools
Xcode 9.0 (13247)
Build 9A235

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

Xamarin.Mac
Version: 3.6.3.3 (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

Note You need to log in before you can comment on or make changes to this bug.