Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15014] Android: hasCheck icon not displaying in some devices/emulators

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-06T00:21:56.000+0000
Affected Version/sRelease 3.1.1, Release 3.2.0
Fix Version/s2013 Sprint 23, 2013 Sprint 23 API, Release 3.2.0
ComponentsAndroid
Labelsandroid, hasCheck, module_tableviewrow, qe-manualtest, qe-testadded, tableviewrow, triage
Reporterankur garha
AssigneePedro Enrique
Created2013-08-06T07:54:30.000+0000
Updated2014-11-20T00:45:14.000+0000

Description

*Problem* On particular android devices/emulators (as mentioned above), hasCheck property of TableViewRow is not showing the checkmark icon on right side of the row. *Steps to reproduce* In order to reproduce this issue, please try this sample code given below on above mentioned android devices/emulators in Environments area.
var win = Ti.UI.createWindow({backgroundColor:"#FFF"});

var data = [];
//create object instance, a parasitic subclass of Observable
var tableview = Titanium.UI.createTableView({
	data : data,
});

for (var i = 0; i < 5; i++) {
	var section = Titanium.UI.createTableViewSection({
		headerTitle : "section" + i
	});

	for (var j = 0; j < 5; j++) {
		var row = Ti.UI.createTableViewRow({
			title : "row" + j,
			hasCheck : true
		});
		section.add(row);

	}
	data.push(section);
}
tableview.setData(data);
tableview.addEventListener('click', function(e) {
	if (e.row.hasCheck) {
		e.row.hasCheck = false;
	} else {
		e.row.hasCheck = true;
	}
});

win.add(tableview);
win.open();

Attachments

FileDateSize
device-2013-08-06-130635.png2013-08-06T07:54:30.000+00005408

Comments

  1. ankur garha 2013-08-07

    Do we have any updates regarding this issue? We are facing same issue in our production version. Please give us some solution/work-around for this problem.
  2. ankur garha 2013-08-08

    Guys, Can you just have a look at this issue. Our app is already in production version and we are loosing our customers due to this bug.
  3. Daniel Sefton 2013-08-30

    Apologies for the delay. Tested and confirmed with Android 4.1.2 x86 QVGA emulator with Ti SDK 3.1.1 GA and 3.2 CI.
  4. Ygor Lemos 2013-09-04

    Also tested on a Samsung Galaxy S4 running Android 4.2.2 (latest). The checkmarks are displayed very very tiny (almost invisible).
  5. Dominic Maricic 2013-09-11

    Any updates? This is a huge issue for our app as we have a ton of Samsung Galaxy S4 users and the check is microscopic! People are thinking it's not even there rendering the app useless.
  6. Abdul Mohammed 2013-09-11

    Facing the same problem hasCheck and hasDetails icon on S4. Too tiny to view. Is there any workaround until this gets resolved?
  7. Ygor Lemos 2013-09-11

    @Abdul: For now I have used setRightImage on the tableView and controlled the state using a variable attached to the row. Works like a charm. Had to deal with Android resources for resolution aware directories and multiple images for it to work properly on multiple devices.
  8. ankur garha 2013-09-12

    Hi Ygor, But we also want to toggle the hasCheck property and checkbox icon on click of the same row. Can you please paste some code snippet for the same which wont effect the app performance as we are using table view with huge number of rows (around 40-50)? Thanks in advance. Ankur Garha
  9. ankur garha 2013-10-11

    Has anybody fixed this issue yet? It has been month now..
  10. Ingo Muschenetz 2013-10-11

    [~speedyankur@gmail.com] It will first be slotted into a release, and then you will see it moved into a "In Progress" state and then finally "Resolved". We have other pressing issues at the moment, so we can't yet fix it. You are welcome to try fixing it and submitting a pull request. We will attempt to address it ASAP.
  11. Dominic Maricic 2013-10-15

    I'm really surprised this bug doesn't have a higher priority. Every week it's affecting more and more phones, and therefore users. So far the 2 hottest phones, the Note 3 and the Galaxy S4 are affected as well as many others (even non Samsung, like the latest LG phones). We're up to 25% of our users that can't use our app properly because of this. Is anyone actually looking into this? It's been several months.
  12. ankur garha 2013-10-24

    Hi Ingo, Please assign this issue to me, so that I can fix this issue.
  13. Ingo Muschenetz 2013-10-24

    [~speedyankur@gmail.com] If you'd like to try fixing the issue, please file a pull request with your fixes and we'd be happy to take a look.
  14. Pedro Enrique 2013-11-05

    PR: https://github.com/appcelerator/titanium_mobile/pull/4916
  15. Samuel Dowse 2013-11-13

    Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311122029 Titanium SDK, build: 3.2.0.v20131112144044 CLI: 3.2.0 Alloy: 1.3.0 Android Emulator: 2.3.3 Android Device: Xperia U (2.3.7), Xperia Arc S (4.0.4) Check marks appear on right side and appear/disappear when clicked. Closing.
  16. Douard Steven 2014-04-02

    Hi, I've the same problem, hasCheck property of TableViewRow is not showing the checkmark icon on right side of the row. I reproduce on "Xperia Z" with screen 5" and 1920 x 1080 pixels. Titanium studio 3.2.2 GA Titanium sdk 3.2.1 Cli : 3.2.0 Android device : Xperia Z [Full HD 1920 x 1080 pixels] Andoid : 4.2.2
  17. Dominic Maricic 2014-04-03

    Same here on my Note 3 and other customers are complaining again too. It looks like the problem returned in 3.2.2 as it was fixed previously.
  18. Ingo Muschenetz 2014-04-03

    Hi All, it could NOT have returned in 3.2.2. We made no Android changes in that release. It COULD have returned in 3.2.1. [~douardst] reported it against 3.2.1. Can anyone else confirm?
  19. Dominic Maricic 2014-04-08

    I was able to confirm that the problem existed in 3.2.1.
  20. BABLY DAS 2014-06-21

    This issue is still present with 3.2.3 . Not sure why this issue is being closed?
  21. Ingo Muschenetz 2014-06-21

    [~Bably Das] Please provide a test case and a screenshot that shows the error in 3.2.3 so we can investigate.
  22. Dominic Maricic 2014-06-21

    Who knows? It's been an issue for a year now and cost us quite a few users. We ended up changing the color of the text in the entire row when selected as a workaround. Obviously something as basic as a working checkmark isn't a high priority!!
  23. Dominic Maricic 2014-06-21

    The same text case Ankur posted almost a year ago, still doesn't work! Feel free to use that one rather than make Ingo make a new one.
  24. Dominic Maricic 2014-06-21

    Sorry, I meant rather than make Bably make a nw one.
  25. Ingo Muschenetz 2014-06-21

    Please note that we did find and fix an issue, so we have been active about addressing this. We have had similar device-specific issues with photos. Can someone give me one or more devices that it still happens on for them?
  26. Dominic Maricic 2014-06-21

    It's still occurring on my Samsung Note 3.
  27. Tim Poulsen 2014-09-16

    Possibly related: On higher resolution devices, the check mark icon is tiny. On my Galaxy S5, it's microscopic. I've opened TIMOB-17702.

JSON Source