maui icon indicating copy to clipboard operation
maui copied to clipboard

[regression/8.0.3] TapGestureRecognizer not working with TableView

Open pmoran2550 opened this issue 1 year ago • 2 comments
trafficstars

Description

After upgrading a .Net Maui project from .Net 7 to .Net 8 my tap gestures within a tableview were no longer working. I created a sample project to reproduce the issue. I am seeing this using the Android simulator (Android 13.0 - API 33) and IOS simulator (iPhone 15 iOS 17).

Steps to Reproduce

Clone project https://github.com/pmoran2550/GestureTapIssue.git Build and run Taping on the Label and StackPanel show the alert called when the tap is recognized. Taping on the table items do not.

Link to public reproduction project repository

https://github.com/pmoran2550/GestureTapIssue.git

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

iOS, Android

Affected platform versions

Android 13, iOS 17

Did you find any workaround?

No

Relevant log output

No response

pmoran2550 avatar Dec 11 '23 22:12 pmoran2550

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

ghost avatar Dec 12 '23 19:12 ghost

Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3). Repro on Windows 11, Android 14.0-API34, iOS 17.0 and MacCatalyst with below Project: MauiAppTest.zip Windows

XamlTest avatar Jan 12 '24 09:01 XamlTest

Something I don't understand is that it works with 8.0.6-nightly.9851 which was built before SR1 was released. But somehow with SR1 it does no longer work. So is it a regression or is the fix for some reason not included in SR1?

FlavioGoncalves-Cayas avatar Jan 22 '24 14:01 FlavioGoncalves-Cayas

The versioning is a bit confusing since we had nightlies building as 8.0.6-nightly.xyz after we branched for SR1 which ended up shipping with version 8.0.6 (originally it was going to be 8.0.5 but we found a regression last minute that we fixed causing the version to bump). We'll take a look and see if we can make some changes to nightly versioning to make that less confusing.

SR1 built Dec 7, and the PR with the fix for this (https://github.com/dotnet/maui/pull/18938) merged on Dec 11, after the branching happened, so this fix is going into SR2.

Redth avatar Jan 22 '24 19:01 Redth

Very confusing, indeed. Thanks for clearing it up. When can we expect the release of SR2 rougly?

FlavioGoncalves-Cayas avatar Jan 23 '24 07:01 FlavioGoncalves-Cayas