[TIMOB-1979] Android - row highlight fails with touch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M05 |
Components | Android |
Labels | android, defect, regression |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:07:05.000+0000 |
Updated | 2011-04-17T01:57:43.000+0000 |
Description
1.Install GG, launch the app
2.tap the video game icon
3.in the search, type in "killzone"
4.tap killzone 2 and let the page load.
5.Use your finger to tap the "Guru" row
6.Tap the table rows below as well
results: using tap the guru row fails to show highlight (works fine using trackball), the rows below have intermittent highlight behavior.
As Per Bill "It was one of the commits in between your Tuesday build (1.4.2 80434d) and my fix (1.4.2.5935b3) that caused the problem with the row highlight" (Thomas added build numbers to Bills quote)
http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9"> http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9
Don: note that it's not that row highlighting is totally broken. If I create a table that has rows with just the
title
property set, then it works. But the affected application has an image view and multiple labels that are.add
'd to the row. The highlighting works in the commit just before your commit (http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9)">http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9), but then not after.I'll try to make a more general failcase so you don't have to go wading through their code.
Here's the failcase I promised. All in one app.js:
If you click on the labels in the second set of rows, no highlighting will occur, whereas it did before commit http://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9"> d074f62eaf9 (try building with 1.4.0 to see it work). I'm afraid this is probably high priority because it's a very noticeable regression in GG, for example.
I should have tagged this a regression.
Duplicate of #1509
I incorrectly marked this as a dup of #1509. #2101 is however a duplicate of this one.
For consideration in M05
Labels are now clickable by default, which causes the event handler in Label to not send the event up to the TableViewRow. You can disable this behavior by setting "touchEnabled: false" in the creation proxy for each label that you want to click through to the row. Marking as resolved.