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.
Created attachment 12781 [details]
When a CarouselPage has >= 4 children pages, setting the CurrentPage causes that child page to render no content.
For example, if the CarouselPage has 4 children pages, setting CurrentPage = carouselPage.Children; will cause that page to render no content. Every other valid index works (0, 2, 3). When it has 5 children pages, index 1 and 2 (pages 2 and 3) do not render content, etc.
**Steps to Reproduce:**
1. Run the attached sample on an Android simulator
2. Press the "Show Page 2" button.
To run subsequent tests, relaunch the app. Once you complete step #2 above and then navigate back, subsequent taps of the button will work. It seems that the first time it does not work.
The page is shown, but there is no content.
You should see a label with the text "Page 2".
**Build Date & Platform:**
This works fine on iOS.
After step #2 above, if you swipe left and right, you will see the other pages have loaded OK. If you swipe back to this Page 2, it will render the content now.
Relaunch the app to reset the test. You can try every other button individually to see that the content is loaded. It's only when the page is at index 1 of the children (assuming 4 pages). That "bad" index changes as you add more pages to the children.
Using the attached sample I was able to reproduce the issue.
=== Xamarin Studio ===
Version 5.9.5 (build 10)
Installation UUID: 8ef63a7c-1b18-40de-a334-7f78777fcb55
Mono 4.0.3 ((detached/d6946b4)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400030020
=== Apple Developer Tools ===
Xcode 7.0 (8208.9)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Business Edition)
Build date: 2015-08-04 13:52:25-0400
=== Xamarin.Android ===
Version: 188.8.131.52 (Business Edition)
Android SDK: /Users/kentgreen/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
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)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
Java SDK: /usr
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 184.108.40.206 (Business Edition)
=== Build Information ===
Release ID: 509050010
Git revision: 48d16bc4f12ce3938964fc7c3d72fdc6887ad4ad
Build date: 2015-08-18 16:55:24-04
Xamarin addins: c2d51b360ad9f59e689046d47030df27de28f94a
=== Operating System ===
Mac OS X 10.10.5
Darwin Kents-MBP 14.5.0 Darwin Kernel Version 14.5.0
Wed Jul 29 02:26:53 PDT 2015
*** This bug has been marked as a duplicate of bug 29257 ***