Bug 54229 - Hamburger icon not shown when using FormsAppCompatActivity
Summary: Hamburger icon not shown when using FormsAppCompatActivity
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-29 16:28 UTC by christine.blanda
Modified: 2017-07-12 22:46 UTC (History)
4 users (show)

Tags: appcompat, hamburger, navigation, back, ac
Is this bug a regression?: ---
Last known good build:


Attachments
Sample app (237.17 KB, application/x-zip-compressed)
2017-03-29 16:28 UTC, christine.blanda
Details


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 54229 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:
Status:
CONFIRMED

Description christine.blanda 2017-03-29 16:28:06 UTC
Created attachment 21024 [details]
Sample app

Run the sample app, there is a MasterDetail window with a list in the detail that opens a second window.  Tap on one of the items in the detail window to open the second window.  The hamburger icon is no longer visible; no icon is visible.

In MainActivity (in Droid) comment out the code from [Activity thought the end of the class, and uncomment the other section of code.  This switches the ancestor from FormsAppCompactActivity to FormsApplicationActivity.  Run the test again and the hamburger icon will be visible on the second window.

Now change MainActivity back and open AnnouncementView.xaml.cs (in Portable) and change _noBackArrow to false.  Run the test again and the back arrow will be visible on the second window.
Comment 1 Jimmy [MSFT] 2017-03-30 15:27:22 UTC
Thank you for filing this report! Let me run the attached project to see if I can confirm this issue and I will update the report with my results.
Comment 2 Paul DiPietro [MSFT] 2017-06-16 17:51:34 UTC
Taking a look at the reproduction, I think this may have to do with https://github.com/xamarin/Xamarin.Forms/pull/256, but that FormsApplicationActivity is behaving differently because there weren't any changes made there. For upkeep, I'm setting this to confirmed for now.