Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
## Steps to reproduce
1. Download sample: https://www.dropbox.com/s/kg9quw19h7e5q84/OnAppearingDemo.zip?dl=0
2. Run the "OnAppearingDemo Tabbed Version" droid project on a device or simulator
3. Dismiss alert
4. Tap on "Next Page"
5. Tap on the back button
## Expected results
An alert stating that OnAppearing() has been called
## Actual results
OnAppearing() is not called, so no alert is shown
The iOS project displays the expected behaviour
=== Xamarin Studio ===
Version 5.10.1 (build 6)
Installation UUID: 11a26d86-0d21-407a-8da9-8c197ecc0ad1
Mono 4.2.1 (explicit/6dd2d0d)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402010102
=== Xamarin.Profiler ===
=== Apple Developer Tools ===
Xcode 7.2 (9548)
=== Xamarin.iOS ===
Version: 220.127.116.11 (Business Edition)
Build date: 2015-12-08 16:20:29-0500
=== Xamarin.Android ===
Version: 18.104.22.168 (Business Edition)
Android SDK: /Users/Adam/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.1
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 22.214.171.124 (Business Edition)
=== Build Information ===
Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 20:28:20-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-lion-cycle6-baseline
=== Operating System ===
Mac OS X 10.11.2
Darwin Adams-Retina-MacBook-Pro.local 15.2.0 Darwin Kernel Version 15.2.0
Fri Nov 13 19:56:56 PST 2015
I can confirm that this is happening. The onAppearing event is not being called when returning to a master page from the detail page. This is when happening when using a tabbedPage as a main page.
I would also like to add that if you push a Modal page async, then other pages async on top of that one, background, and then resume, only the modal page's OnAppearing is called on Android, not the page that is displayed to the User.
I confirm this bug, please anybody knows any workaround? When will the Xamarin team fix it?
I have the same problem in my apps.
When will the Xamarin team fix it?
A workaround is to look at the onAppearing event for your TabbedPage, Check what children is the active tab (page) and call a method on it
I've tested the reproduction originally provided against the latest stable version of Forms (126.96.36.199) and it appears to show the alert as expected. If someone has a reproduction to share in which this isn't working (specifically a circumstance which is separate from the original issue mentioned), please feel free to reopen this or file a new bug.
Paul, this issue is not fixed. I've created solution using the Forms v188.8.131.52 illustrating that problem still exists. The sample solution can be downloaded at https://dl.dropboxusercontent.com/u/78374852/Poppin.zip
I also created a post on the forums at https://forums.xamarin.com/discussion/69804/onappearing-still-not-firing-after-modalpop-in-droid-applications-sample-included#latest a couple of weeks back. Additionally, I've responded to an older post at http://forums.xamarin.com/discussion/comment/207906/#Comment_207906
This has not been fixed. Workaround I have been using is message passing on android to call OnAppearing.
This bug is not fixed as of 2.3.2-118-pre1