Tableview: If The Top Row Is A Category, It Appears To Slightly 'scroll Off' The Top Of The Tableview

I have two scenes, both with tableViews and rows inserted into them. In both, the top row is a category row, followed by non-category rows.

In one scene, the top row appears to ‘scroll off’ the top of the tableView. It’s supposed to be colored and have text in it, but it instead appears as a blank row with no color, no text, and slightly ‘shorter’ (small amount of the top part is chopped off). If I scroll down ever so slightly, it pops up into full view and displays correctly (though still slightly ‘shorter’). Once I release the scroll, it goes back to not displaying correctly.

In the other scene, it works perfectly fine.

I have gone through my code meticulously, comparing it to the other scene with the working tableView, and so far I can’t see any difference that would cause that one to work and this one to not. However, clearly something is wrong on my end.

I was wondering if anyone has experienced this problem or might have an idea to what is causing this.

Notes:

  • If the top row is not a category, it displays correctly without getting chopped off.
  • If I set the initial scrollToY to a minimum value of y = 2.6, it starts off displaying correctly (at least in terms of color and text, though of course it appears slightly ‘shorter’). As expected, once I scroll and relase, it goes back to not displaying correctly.

I attached some pictures for reference:

  • This is the working tableView from the other scene
  • This is the broken tableView from the scene I’m talking about:
  • This is the broken tableView, except scrolled ever so slightly down:
  • This is the broken tableView set with an initial Y value

I was having a similar issue with the first row being a category and not showing. Not sure if its the same thing you are experiencing but if you can reproduce in code I’d submit a bug.

I was having a similar issue with the first row being a category and not showing. Not sure if its the same thing you are experiencing but if you can reproduce in code I’d submit a bug.

I have the same issue. The top row, which is a category is not displaying properly until it is ‘scrolled down a bit’ but once it is released it goes back showing incorrect characteristics.

@appu33 what version of Corona SDK are you using?

Rob,

I was on 1137 which could be the reason. But now installed 2076 which actually crashes on windows, as soon as I starts it. 

Windows shows message “to help protect your computer Data Execution Prevention has closed corona simulator”, in Vista.

The below thread started a day back is about it. Thanks

http://forums.coronalabs.com/topic/41370-build-2013-2076-not-responding/

You need to make sure your Video card has the latest drivers and supports OpenGL 2.0.  

Rob

Yea Rob. That was the issue. I was on intel 965 driver and it supports only open GL 1.5

For anyone else having this issue, Please go to your system components and check the name of display component.

with Intel, you will have a compatibiility document on their website, showing compatibility with directX, openGL, openCL etc

Thanks

I have the same issue. The top row, which is a category is not displaying properly until it is ‘scrolled down a bit’ but once it is released it goes back showing incorrect characteristics.

@appu33 what version of Corona SDK are you using?

Rob,

I was on 1137 which could be the reason. But now installed 2076 which actually crashes on windows, as soon as I starts it. 

Windows shows message “to help protect your computer Data Execution Prevention has closed corona simulator”, in Vista.

The below thread started a day back is about it. Thanks

http://forums.coronalabs.com/topic/41370-build-2013-2076-not-responding/

You need to make sure your Video card has the latest drivers and supports OpenGL 2.0.  

Rob

Yea Rob. That was the issue. I was on intel 965 driver and it supports only open GL 1.5

For anyone else having this issue, Please go to your system components and check the name of display component.

with Intel, you will have a compatibiility document on their website, showing compatibility with directX, openGL, openCL etc

Thanks