Bug 52951 - Effects not applied to NavigationPage
Summary: Effects not applied to NavigationPage
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.3
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-02 00:18 UTC by david
Modified: 2017-09-21 15:34 UTC (History)
6 users (show)

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


Attachments
Repro project (96.32 KB, application/zip)
2017-03-02 00:18 UTC, david
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 52951 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 david 2017-03-02 00:18:20 UTC
Created attachment 20080 [details]
Repro project

Trying to set up some Effects in NavigationPages inside a TabbedPage.

When I set up an Effect inside the NavigationPage's XAML, it doesn't get attached.

When I set up an Effect within the TabbedPage's XAML, it does.

This seems wrong.

Please see the attached example project that illustrates the problem. It's fully configured for iOS only but still illustrates the problem.

Repro:

1. Run the app on iOS device/simulator.
2. Observe Debug output indicating that all NavigationPages had their Effects attached correctly.
3. In MyTabbedPage.xaml, comment out both the <NavigationPage.Effects> sections.
4. In MyNavigationPage.xaml, uncomment the <NavigationPage.Effects> section.
5. Run the app again and observe that the NavigationPage Effects are not applied.

Thanks
Comment 1 Jimmy [MSFT] 2017-03-02 19:22:43 UTC
Hey David, thank you for filing this! Let me run the attached project to try confirming the issue and I will update the report accordingly.
Comment 2 Jimmy [MSFT] 2017-03-23 21:02:59 UTC
I was able to reproduce the issue described with the attached project on Forms 2.3.3.180 and 2.3.4-pre5. I am confirming this report so the team can investigate further and provide more information.