List of open Widget 2.0 bugs & promised features...

I reported a tableView bug about deleting rows on June 30th, number 1153.

I consider the bug quite bad, table view behaves very erratically after deleting a row. I can not publish without this being fixed. Not that I plan on publishing in the next few weeks so I’m not too stressed (until I saw that comment from Walter).

After deleting a row and tapping anywhere on table view things start jumping around. Also deleting more than 1 row they animate incorrectly.

Made a video: http://www.youtube.com/watch?v=VbwdjMmLrJI

Each time the tableview moves up or down I’m just tapping on the tableview (no dragging).

This is build 1153, but bug was also in at least previous 2 daily before that. I haven’t tried more than that.

Minimum code to reproduce:

[lua]

display.setStatusBar( display.HiddenStatusBar )

local widget = require( “widget” )

local tableView

local function onRowTouch( event )

    local rowNumber = event.target.index

    if event.phase == ‘tap’ then

        tableView:deleteRow(rowNumber)

    end

end

local function onRowRender( event )

    local row = event.row

    local rowTitle = display.newText( row, "DELETE ME " … row.index, 0, 0, nil, 14 )

    rowTitle.x = display.contentWidth / 2

    rowTitle.y = row.contentHeight * 0.5

    rowTitle:setTextColor( 0, 0, 0 )

end

– Create a tableView

tableView = widget.newTableView

{

    width = display.contentWidth, 

    height = display.contentHeight,

    onRowRender = onRowRender,

    onRowTouch = onRowTouch,

}

tableView:insertRow{rowHeight = 40}

tableView:insertRow{rowHeight = 40}

tableView:insertRow{rowHeight = 40}

[/lua]

Jon, thanks much for your contribution. Most appreciated. 

Kerem,

Letting you know that some of the bugs in the document are already in the works, and that i’m watching the thread closely.

I think it’s a great idea to have this centralized.

Alex

@jonjonnson: The fix for the tableview delete row problems will be available very soon.

Alex

Hi Alex, 

Thanks for your kind words and participation in this thread. Most appreciated. I am sure we all look forward to your updates on a daily basis!!! Keep up the great work.

Regards,

Kerem

Great, thanks Alex.

This is not a bug, but I’d like to see more frequent releases of the code. It doesn’t look like GitHub even has the changes from the last public build.

I would like to finally see the widgets UI customization documentation, examples, and tutorial we were promised.

Hi Chevol,

Better late than never… Part 1 at least.

http://www.coronalabs.com/blog/2013/07/16/tutorial-stylizing-widgets-part-1/

This was underway before you posted; it might not cover the specific widget you need to style (in this first part), but this should provide some clearer “real world” examples.

Take care,

Brent

+1 for Chevol’s suggestion. Brent thanks much for the tutorial. Its great that these are coming out!!! Thank you .

Great thread and idea. Added my outstanding bugs and a column so it’s clear what widgets we’re talking about :slight_smile:

Richard, thanks much for your contribution. Great idea to add the widgetName in a column. It does make it much clearer indeed. 

On a related note, if anyone’s bug is fixed please remember to come and add the Closed Date. 

All contributions are most appreciated. I will make one more pass through the forum and try to catch some more but its best if the person who first reported a bug follows through with it in the spreadsheet as well.

Regards,

Kerem

How are the other fixes coming along? 

Please add to the spreadsheet if you observe and report any other bugs. 

Have a great weekend.

Alex, the latest daily is amazing!!! Widget fixes galore. Thank you very very much! Have a wonderful weekend and well deserved weekend. All the best!!!

Updated with - Case 25367 - transition.to causes tableView Category sticky at the top behavior to malfunction

Hi, I am currently using 2013.1179, and the .deleteRow() is not working.

This is the log:

?:0: attempt to index field ‘_scrollBar’ (a nil value)

stack traceback:

    [C]: ?

    ?: in function <?:989>

Even the code in documentation is NOT working. (not the ‘missing list’ error, I replaced with ‘tableView’).

I remember it was working 1 month ago.

Hi topfuncoolgames,

Confirming that. Please use the event release phase of the listener to delete rows, i’ll post a fix today for that specific case.

Thanks,

Alex

Thanks Alexf!  I will wait for that.

Thanks much to those of you who are registering their bugs and/or updating the existing bugs with status after recent fixes by Alex. May I suggest that once a bug is confirmed fixed you simply note the fact that its fixed in the notes or remarks column and hide that row in the spreadsheet? This way we can keep the active in our attention. Thank you very much!!!

ksan, highly recommend you stop deleting entries; would make more sense to grey them out or move them to a second sheet. Else could be confusing for people looking into bug status