24 June 2013
Corona Weekly Update: Fixing bugs
While we work on lots of features that make mobile app development easier, I want to highlight all the bug fixing that’s been going on in parallel.
We’ve been very vigilant about regressions introduced in daily builds, but if there was one eye sore in our bugbase it was the bugs in the widget framework. We have attacked them with renewed vigor.
Here’s a list of the widget enhancements we’ve made:
- Fixes the tableView scrollbar skinning with imageSheets. Fixes casenum 23646.
- Corrects the switch instantiation via image sheet. Fixes casenum 23648.
- Adds a custom params table to the insertRow ethod of the tableview, allowing for easy attachment of custom data to table rows. Fixes casenum 23811.
- Fixes the touch permission variable or tableviews if the view has hit bottom or top limit. Fixes casenum 23406.
- Added instance methods setScrollWidth() / setScrollHeight(). Fixes casenum 22869, casenum 21859.
- Exposes the stepper inc/dec speed and iteration number properties. Fixes casenum 21958.
- Creates the API method resizeView( newWidth ) for the progressView widget, allowing resize after creation. Fixes casenum 21874.
- Enables choosing elements in the picker widget by tapping on them. Fixes casenum 21788
- Fixes the tabBar selected image to scale to custom height if defined. Fixes casenum 21961.
- Return the correct value in the Picker when the user taps on a value. Casenum 24148
- Removed delay in resetting the tapped cell’s background color. Casenum 24263
- Picker view autocap text when defining large labels, and solving up the scroll issues at high speed to one of the list ends. Casenum 23290
- fixes involuntary scrolling after tapping and holding. Casenum 24244, 22607
- Added tap event to the tabbar, fixes tap event propagation on the widgets behind tab bars. Casenum 24126
- Fixes TabBar errors when custom images not supplied. Casenum 23996
- The scrollview gets the .isBounceEnabled property that allows the view to bounce back or not, like the native behaviour. Casenum: 21357
- Fixes changing scroll direction when the swipe occurs near one of the view limits. Casenum 22607, 24316
We have a few more fixes coming, but widgets are a lot more polished now!
Starting in tomorrow’s daily build (1150 or later), we’ll also be fixing a regression introduced late last week where certain plugins were not getting downloaded. This only affects plugins used in the Corona Simulator. Your device builds are unaffected.
On top of that, we have also finished a ton of other polish items such as removing auto-suggestion on Android password fields, improved handling of disposed/invalid audio streams, and ensuring multi-byte POSTs pass the correct content length.
There were also several pesky Windows-only bugs:
- Remember position of console window between restarts; reduce flashing of windows on startup – no casenum
- Fixed an issue where you can’t zoom out after zooming all the way in.
- Fixed bug where display.newText() would remove trailing spaces on Windows
- Fix issue with two instances of Simulator starting when a lua file was specified on the command line – fixes casenum 23206
If you are using 3rd party tools that integrate with the Corona Simulator, that last one is something you’re really going to like!