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 10731 [details]
Example project recreating the problem
I am using 184.108.40.20653-pre2 (but have had it with previous versions as well).
In the app I'm developing, I wanted to clear and add pins as the map is scrolled so as not to clutter it. It seems to me that even with 220.127.116.1153-pre2 that PinClick is still not working properly. I have attached a sample project that recreates this - on my phone at least!
The example app has a button, a map and a label. Click the "Add Pins" button at the top of the page and it will clear existing pins and add some randomly placed ones. Clicking on a pin will change the label to "Click " + DateTime.Now.ToLongTimeString() so you can see if the click works.
For me, the first time pins are added and clicked the event works, but subsequent clearing / adding doesn't fire the event from those new pins.
I have commented on https://bugzilla.xamarin.com/show_bug.cgi?id=27621 and https://bugzilla.xamarin.com/show_bug.cgi?id=25557 to say the same, but as these are marked as resolved/closed, I was advised to open a new bug. Sorry for the scattergun approach here, I'm a little unclear on the process when you have marked bugs as closed.
I am also using 18.104.22.16853-pre2 in my project and can confirm that it is still not working. I load the pins dynamically and none fire the click event.
I was able to replicate this with 22.214.171.12453-pre2
I can confirm this isn't working for me either. Works fine on Android, but not on iOS.
Adding more standardized bug information per the bug writing guidelines:
## Steps to reproduce
1. Run the test case attached in comment 0 on either iOS simulator or device.
2. Tap the "Add Pins" button _twice_ (this is a crucial difference from similar earlier bugs like Bug 27621).
3. Tap any one of the red pins.
4. Tap within the pin annotation text box.
## Actual result
The Clicked event is not be raised, and the title bar text is _not_ updated to show the current time.
## Expected result
Clicked event _is_ raised, and the title bar text _is_ updated to show the current time.
## Version info
### Devices tested
iPhone 5s, iOS 8.2 simulator
iPad Mini 2, iOS 8.0
### OS X 10.9.5
Xamarin.iOS 126.96.36.199 (f5f5a49)
Xcode 6.2 (6776), Build 6C131e
Should be fixed in 1.4.3 final
I have checked this issue with xamarin.forms.188.8.131.5264-pre3 and its working fine at my end.
Hence closing this issue.
Xamarin Studio 5.9.3 (build 1)
Mono 4.0.1 ((detached/ed1d3ec)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400010044
Xcode 6.2 (6776)
Xamarin.iOS 184.108.40.206 (Enterprise Edition)
Xamarin.Android 220.127.116.11 (Enterprise Edition)
Xamarin.Mac : 18.104.22.168 (Enterprise Edition)
Mac OS X 10.9.4
thanks all :)