Bug 40478 - Xamarin.Forms.Maps Pin.Clicked event is not fired
Summary: Xamarin.Forms.Maps Pin.Clicked event is not fired
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.1.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Samantha Houts [MSFT]
URL:
: 60129 ()
Depends on:
Blocks:
 
Reported: 2016-04-18 08:44 UTC by Gagik Kyurkchyan
Modified: 2018-03-05 16:04 UTC (History)
7 users (show)

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

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 ANSWERED

Description Gagik Kyurkchyan 2016-04-18 08:44:46 UTC
I have Xamarin Forms 2.1.0.6529 version and same version of Xamarin.Forms.Maps. There's an issue with Pins. I am having some problems with Pin.Clicked event. What happens is when I tap the pin, it just opens the balloon, but even is not fired. To fire the clicked event I must then tap the balloon of the pin. On iOS the behavior is a little bit different. When you tap on the pin, nothing happens, just the balloon opens. To trigger the event you'll need to tap on the pin again. I believe this is very strange behavior. Please fix this.
Comment 1 Rui Marinho 2016-04-19 11:46:07 UTC
Hi Gagik, i have just tried to debug this issue, and when i tap the ballon it will fire the Clicked event, also if i tap the pin it also fires the Clicked event. This is the intended behaviour.

Warm Regards
Xamarin Forms Team
Comment 2 Gagik Kyurkchyan 2016-04-25 07:08:30 UTC
Hello 

Look the even is not fired when I click the pin first time, it's only fired when I click the pin or already appeared balloon for the second time. This shouldn't work like this, rather the clicked event should be fired when as soon as I click the pin. I believe this is how it should work.

Regards
Comment 3 Gagik Kyurkchyan 2016-04-25 08:27:24 UTC
And for Android it's even worse, the click event is only fired after you tap on the pin and tap on the balloon, and it doesn't work when you tap on pin, just the ballon.Have a look in this forum thread.
https://forums.xamarin.com/discussion/comment/191994/#Comment_191994
Comment 4 adrianknight89 2016-11-18 17:32:52 UTC
Can you add a repro?
Comment 5 Samantha Houts [MSFT] 2017-01-06 00:28:29 UTC
@Gagik Kyurkchyan: Yes, please provide a small project that will demonstrate this issue to help us track down the cause. Thank you!

Warm regards,
Xamarin Forms Team
Comment 6 Samantha Houts [MSFT] 2017-06-19 23:33:12 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!
Comment 7 Paul DiPietro [MSFT] 2017-10-11 14:09:58 UTC
*** Bug 60129 has been marked as a duplicate of this bug. ***
Comment 8 Paul DiPietro [MSFT] 2017-10-11 14:10:20 UTC
Supposedly an issue per #60129 so I'm reopening this for now
Comment 9 Sevket Kizanlik 2017-11-11 17:30:32 UTC
Is there any progress on this bug?
Comment 10 Paul DiPietro [MSFT] 2018-03-05 16:04:05 UTC
As a reproduction has not been provided by anyone, this will be closed for now. Please open a new issue on GitHub with a reproduction project if you are still experiencing the behavior as of the latest stable release of Forms, as we use that for tracking now. Thanks.