Picker Wheel will not allow selection

I’ve noticed this in a few builds and still see it in 2300

The following code will show the issue.  I cannot make any selection other than “beginner”

local widget = require("widget") local columnData = {} columnData[1] = {} columnData[1].labels = {"beginner", "intermediate", "advanced"} columnData[1].align = "left"        columnData[1].startIndex = 1 local picker = widget.newPickerWheel{                top= 95,                columns=columnData,  }

Not quite sure what the deal is … i have other picker wheels that work just fine for Date, etc.  Something about the data … or some bug associated with one column or limited data ???

Perhaps it is my misunderstanding of things …

Any help is appreciated.

Hi @mslack,

My advice would be, don’t use a pickerWheel for just 3 pieces of data in one column. IMHO, that is “overkill” from the UI standpoint, making the user manipulate a wheel just to select a skill level. I would suggest a radio button set, or even a tabBar or segmentedControl. Just 3 pieces of data in a picker is not designed to work properly, as there just isn’t much data to scroll up and down.

Best regards,

Brent

Yea well that is just an example.  I use the picker wheel for variable sets of options.  Just noticed that if the set is short like this it is broken.  So saying do something else is not really an option as i don’t control the number of options that are being selected from.

So this is a bug?

Should it be fixed?

Hi @mslack,

Yes, this appears to be a bug, if you can’t select the proper item. Can you compile a quick test case and submit it as a bug report?

Thanks,

Brent

The code above is the test … bug report submitted

Yes this is a bug. It was working well with 3 entries before 2282. I also reported this as 

(Case 32337) PickerWheel with few entries has major alignment problem - Regression bug in  2282

Hope it will get fixed very soon. 

Agreed … bugs like this are likely easy to fix but at the same time keep us from being able to move forward in the Corona Codebase which fixes all kinds of issues.

Please get this fixed.

Cheers

I need the other widget fixes delivered in 2282 but can’t go there because of this particular bug which ironically 2282 introduced… Oh and another one introduced in 2276 to the mapView. Both are regression bugs and are supposed to get the highest priority so I keep fingers crossed and wait. To CL’s credit though, it does appear that we are getting more timely and regular fixes to these issues of late. It still doesn’t help that there are so many issues that need to be fixed though.

Any comment from Corona on fixing this regression bug?

I am holding back a release just because of this bug. I wish a small incremental bug fix sorting just this one would be made available. The current approach of fixing many widget issues and releasing one big batch every 2 to 3 months is not always the best way to go. 

Still no comment from Corona! … When might we see these bugs fixed.  We really need better regression testing prior to checking in code changes … IMO

This fix is currently in testing and should be released soon, but I do not have a specific ETA or build number.

Thanks for all the efforts in making the widgets much more robust and feature complete. The recent bug fixes + skinning abilities are all very much appreciated. Thanks

Thanks for the ack that this is being handled … appreciate the feedback!  Testing good …  :)

Any updates on this? I’m still experiencing this issue with 2014.2322.

http://cl.ly/3K3G3o183V0w

Try Daily Build 2332. The contents page say nothing about the widget fixes that went in but it does appear that some bug fixes were included in that daily build. My pickerWheel finally works well with just 3, 4 entries in it. Corona Labs, thanks much for making this happen. :slight_smile:

Build 2332 contained a whole host of widget fixes but I don’t have a complete list.  There were several pickerWheel bugs, skinning bugs and such fixed.

Rob

thanks for the update.

It would be nice if these were documented in the notes … helps us greatly when we are trying to use daily builds if the developers use good notes on their checkins.  Please to impress upon them that this is an important part of the corona eco system.

Fully agree. Today’s 2338 also says : 

“Update widget to latest”

But no idea what went into 2332 and 2338. We need a nice list published once again in the Widgets subforum.

We’re still having issues with the pickerWheel on graphicsCompatibility 1… It barely works. I’d provide a test and everything but just create a pickerWheel and use graphicsCompatibility 1 and you’ll see that it barely works. The scrolling doesn’t stop at one particular point, and if you scroll up and down etc you don’t always get the correct choice. Why is it like this after almost 1,5 years after the widget release.

FYI Corona Staff, we are STILL using the 1.0 widgets for all our components because the 2.0 ones are still insanely unstable, 1,5 years AFTER the official release. Beebe cooked up the older 1.0 widgets in just a few months which you were ‘ashamed’ of. I’d say it’s the other way around by now… (Nothing personal to the people working on the widgets) but come on Corona, 1.5 years and the widgets STILL don’t even emulate the older ones…

Edit: I attached a video demonstrating how the pickerWheel works in a different thread, link: http://forums.coronalabs.com/topic/37217-list-of-open-widget-20-bugs-promised-features/?p=252643