Bug 60170 - LongClick Event Doesn't Invoke Handler
Summary: LongClick Event Doesn't Invoke Handler
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-10-13 04:42 UTC by Laura
Modified: 2018-03-05 16:06 UTC (History)
4 users (show)

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:

Description Laura 2017-10-13 04:42:10 UTC
The LongClick event doesn't invoke the handler when the object is tapped and held.

My code is here:


Compile and run the Adapt.PresentationSamples.Droid project on the 4122-ContextMenus branch for a full reproduction of the bug. Go to the last tab (Context Menus) and tap and hold the red square. Notice that the event handler is not invoked.
Comment 1 Paul DiPietro [MSFT] 2017-10-13 16:43:07 UTC
Looks as if this is the same as 60122.

*** This bug has been marked as a duplicate of bug 60122 ***
Comment 2 Laura 2017-10-15 22:27:00 UTC
The workaround specified in bug 60122 is not applicable to this issue.
Comment 3 Laura 2017-10-16 00:12:17 UTC
I'm also having this issue on iOS with the iOS implementation of the same dependency service.
Maybe there's a root cause here?

See the .cs file for more details:
Comment 4 Miguel de Icaza [MSFT] 2018-01-10 16:07:21 UTC
Laura, I do not have access to that link.
Comment 5 Laura 2018-01-10 22:20:04 UTC
Sorry about that Miguel, this repository went from open-source to proprietary so it's no long public. I've re-uploaded the file heres -> https://www.dropbox.com/sh/c5fyc4qtd9nfenw/AAA6lmJf1HkUOYPT-s_cjx_xa?dl=0
Comment 6 Paul DiPietro [MSFT] 2018-03-05 16:06:13 UTC
Please reopen this as an issue on GitHub with a complete, minimized reproduction project we can run to diagnose the issue if you're still experiencing the behavior as of the latest stable version of Forms.