Bug 22401 - MasterDetailPage right aligned ToolbarButton hidden in iPad Landscape mode
Summary: MasterDetailPage right aligned ToolbarButton hidden in iPad Landscape mode
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-08-27 09:19 UTC by jamey.mcelveen@acstechnologies.com
Modified: 2014-12-12 11:26 UTC (History)
7 users (show)

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

Example (48.30 KB, application/zip)
2014-08-27 09:19 UTC, jamey.mcelveen@acstechnologies.com

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:

Description jamey.mcelveen@acstechnologies.com 2014-08-27 09:19:37 UTC
Created attachment 7819 [details]

If I add a button to the navigation toolbar when a page is created in iPad Landscape orientation and assigned to the Detail of a MasterDetailPage it will not show up. If you start in Portrait and rotate to landscape the button is there. This only happens if you actually construct the page in landscape mode.

I have attached a project that reproduces the issue.

There are three screen-shots in the attachment as well. 

Screen 1: 
  This is the starting point, if you click menu and load 
  other screens everything is ok in portrait.

Screen 2:
  This is after rotating to landscape. If the screen was 
  created in portrait and then the device rotates to 
  landscape then everything is fine. (However I would 
  prefer that the menu button be hidden since it is
  useless in landscape)

Screen 3:
  If you are in landscape and you load another screen 
  this is when the bug appears. At this point the 
  button vanishes. Also (IMO) I believe the menu button
  should not show up.
Comment 1 Rajneesh Kumar 2014-08-28 02:29:07 UTC
I have checked this issue and able to reproduce . To reproduce this I used the sample project and help provided in bug description.

Steps to reproduce:

1. Open attached sample in XS.
2. Run the application on simulator, you will see screen this is Page 1
3. Click on menu and load other screen there are five button
4. Clicking on button you will see different screen and everything is fine in  portrait.
5. Now rotate it in landscape still everything is fine.
6. Click again on menu and the button to load other screen this is when the bug appears.
7. Observe the bug in landscape.

I observed that in landscape mode when you click on button to switch the screen the menu button should not show up.

Screencast: http://www.screencast.com/t/wpHmC8zot

Environment Info:

Xamarin.Forms (Version

=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
	Mono 3.8.0 ((no/62a857e)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 308000007

=== Xamarin.Android ===

Version: 4.14.0 (Enterprise Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 606f31a
Build date: 2014-08-01 15:27:48-0400

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.2
Darwin MacMini.local 13.1.0 Darwin Kernel Version 13.1.0
    Thu Jan 16 19:40:37 PST 2014
    root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
Comment 2 jamey.mcelveen@acstechnologies.com 2014-09-01 18:00:28 UTC
Thanks 'preciate you guys looking into this!
Comment 3 Rui Marinho 2014-12-12 11:26:57 UTC
This is fixed on Xamarin.Forms 1.3 Pre-3