Bug 46914 - TabbedPage firing the wrong OnAppearing event on Children.
Summary: TabbedPage firing the wrong OnAppearing event on Children.
Status: RESOLVED DUPLICATE of bug 44211
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-11-13 11:01 UTC by Trevi Awater
Modified: 2016-11-24 08:21 UTC (History)
3 users (show)

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


Attachments
Sample solution. (50.78 KB, application/zip)
2016-11-13 11:01 UTC, Trevi Awater
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 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:
Status:
RESOLVED DUPLICATE of bug 44211

Description Trevi Awater 2016-11-13 11:01:51 UTC
Created attachment 18446 [details]
Sample solution.

When you have a TabbedPage with 3 children all with OnAppearing events you expect those to fire whenever the tab is selected. When using Xamarin.iOS everything works as expected.

On Xamarin.Android when you select the second page, the OnAppearing event for the third page will fire.

I have provided a minimal sample in the attachment.
Comment 1 adrianknight89 2016-11-13 18:12:04 UTC
I think this bug (or a similar one) was fixed some time ago. 

https://github.com/xamarin/Xamarin.Forms/pull/354

There were other PRs as well which are probably in master. I'm not sure if they were GA'ed. Which version of XF are you using in your repro? If you aren't already, you should use the latest pre-release to see if it makes any difference.
Comment 2 Trevi Awater 2016-11-14 07:59:57 UTC
The project is using 2.3.1.114. Upgrading to 2.3.3.166-pre4 (the latest on nuget) doesn't seem to fix the issue.
Comment 3 Trevi Awater 2016-11-24 08:21:35 UTC

*** This bug has been marked as a duplicate of bug 44211 ***