Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1686] Listitem is solid white

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2014-05-21T16:40:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelslistitem, listview
ReporterJonas Funk Johannessen
AssigneeRitu Agrawal
Created2014-05-15T07:21:01.000+0000
Updated2016-03-08T07:38:10.000+0000

Description

We are having an apparently random issue where users are reporting that some listitems in a listview is just white instead of content. Always at index 0, and then again som random indexes further down the listview. We are not able to reproduce this issue when testing ourselves nor when using the build in App Store, but receive several reports a day regarding this issue, and screenshots that prove this. Some report that they can get a correct listview rendering, if they restart the app, but the problem will resurface on another restart. This is the [listview code](http://pastebin.com/uYAEJv42), [the templates used](http://pastebin.com/eDimC4ba), and [a screenshot](http://www.reshopper.com/help/img1.png) of the issue.

Attachments

FileDateSize
listview-separatorstyle-bug.zip2014-09-04T00:51:03.000+00009411620

Comments

  1. Ritu Agrawal 2014-05-21

    Thank you for providing the list view code, template and screenshot. But we need exact steps to reproduce this issue. Please provide us a simple test case and exact steps to reproduce this issue and we would be happy to take a look.
  2. Jonas Funk Johannessen 2014-05-21

    I cannot provide that. As I stated in the bug report - the issue is apparently random, and it is not possible to force it to happen. It will happen sometimes, and if you restart the app, you don't see it. Later it will resurface. The dev team hasn't experienced it. I have seen it happen once a couple of times. But again - we are receiving many reports from our users on this issue, so we can't ignore it. We didn't have any issues when we used the tableview. It might very well be linked to our use of the SDK, but I dont think it should happen in any circumstances. Nothing in the templates indicates the use of white, and as far as I understand, white is the default color of a cell, so something in the ti-sdk, will leave the first cell untouched in stead of rendering it with content. I was really hoping you could use this information to run through your code to see if anything could trigger this scenario. Otherwise we have to revert back to tableview.
  3. Ritu Agrawal 2014-05-21

    Thanks for the detailed explanation. I tried to reproduce the issue myself couple of times but no luck. Please let us know if you have a test case anytime and we would be happy to look into it.
  4. Greg Perez 2014-09-04

    This attachment highlights an issue where using ListView.separatorStyle can result in blank white ListItems.
  5. Fokke Zandbergen 2014-11-22

    I have this issue as well and it disappears when I remove:
       separatorStyle: Ti.UI.iPhone.ListViewSeparatorStyle.NONE
       
    It only reproduces on devices, about 8 out of 10 times. [~mpmiranda] [~ingo] could you have a look at this? The workaround is to not use separatorColor instead and set it to the backgroundColor of the list items. This issue is same as TC-4787
  6. Prafull Bansode 2016-02-11

    We are also facing the same issue, but especially on Android devices. @Fokke Zandbergen Can you please suggest something to fix this for the case of Android? This appears when I scroll down in the list, the 1st item's backgroundColor gets transparent. Now, later when I scroll down, the last item's backgroundColor gets transparent. I am using Appcelerator SDK 5.1.2.GA.
  7. Fokke Zandbergen 2016-02-12

    [~ragrawal] did you try to reproduce this on device or in emulator? If you used emulator, could you please reopen and try again using devices since that's where it is seen and I can reproduce it?
  8. Fokke Zandbergen 2016-02-12

    [~prafull3313] What you describe seems a more specific variation of this issue. Can you reproduce it consistently? If so, could you please create a new ticket with a clear test case?
  9. Prafull Bansode 2016-02-14

JSON Source