Bug 38158 - TapGesture on Frame does not fire in AppCompat
Summary: TapGesture on Frame does not fire in AppCompat
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: E.Z. Hart [MSFT]
URL:
: 39286 ()
Depends on:
Blocks:
 
Reported: 2016-01-29 00:25 UTC by adrianknight89
Modified: 2016-10-31 17:40 UTC (History)
10 users (show)

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


Attachments
TapGesture on Frame does not fire in AppCompat (45.40 KB, application/zip)
2016-01-29 00:25 UTC, adrianknight89
Details


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 FIXED

Description adrianknight89 2016-01-29 00:25:58 UTC
Created attachment 14780 [details]
TapGesture on Frame does not fire in AppCompat

Please see repro.

Tap gestures do not fire on Frame when the app is made with AppCompat.

To be able to fire gestures, do the following:

- Remove android:theme="@style/MyTheme" from AndroidManifest.xml
- Change to global::Xamarin.Forms.Platform.Android.FormsApplicationActivity in MainActivity.cs

In general, Frame class in Android seems broken. OutlineColor, style Padding, and AppCompat issues.
Comment 1 adrianknight89 2016-01-29 00:27:03 UTC
P.S. This was tested on 2.1.0.6503-pre2 with API Level 23.
Comment 3 E.Z. Hart [MSFT] 2016-03-10 21:27:07 UTC
*** Bug 39286 has been marked as a duplicate of this bug. ***
Comment 4 adrianknight89 2016-06-04 15:39:15 UTC
I created a new project with XF 2.3.0.46-pre3. This issue is no longer valid in the latest version.
Comment 5 adrianknight89 2016-06-04 15:40:41 UTC
changing bug status
Comment 6 Florin Chelaru 2016-10-31 04:16:57 UTC
This is still happening in Xamarin 2.3.2.127! TapGestureRecognizer doesn't fire with the Frame class.
Comment 7 E.Z. Hart [MSFT] 2016-10-31 17:40:02 UTC
(In reply to Florin Chelaru from comment #6)
> This is still happening in Xamarin 2.3.2.127! TapGestureRecognizer doesn't
> fire with the Frame class.

Florin,

Just tested the attached repro project in 2.3.2.127 and it works as it should. If you're experiencing an issue with TapGestureRecognizer/Frame, please open a new Bugzilla case and include a minimal repro project.

Thanks.