newSwitch with Android holo theme is toggled..

Step 1: Set the theme to Android Holo Dark/Light

Step 2: Paste in these code.

local widget = require "widget" widget.setTheme("widget\_theme\_android\_holo\_dark") local rect = display.newRect(display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight) rect:setFillColor(0.5) local switch = widget.newSwitch{ style = "onOff", } switch:setState({isOn = false, isAnimated = false})

Expected behaviour is a switch widget which is in ‘Off’ state. But we get ‘On’ instead.

Hi Corona, this is like 2 weeks ago. Please look into this and fix it.

Can I get you to file a bug report for this?

Thanks

Rob

Ok. submitted.

Still not seeing fixes on this simple issue. Case number: 37394

Help?

It’s still being investigated by engineering.

Rob

Hi Rob,

Merry Christmas! I believe this issue is that corona set the wrong “offDirection” or provided the wrong image assets. It should be fixed in like 10 seconds, but I had been waiting for a month for this fix.

Would be glad to see the fix in next daily build.

Well it was more than 10 seconds.  Any way, the fix will have to go through the process (code reviews, QA, etc.) so it won’t make the next daily build given so many people are out for the holidays. 

Rob

Hi Corona, this is like 2 weeks ago. Please look into this and fix it.

Can I get you to file a bug report for this?

Thanks

Rob

Ok. submitted.

Still not seeing fixes on this simple issue. Case number: 37394

Help?

It’s still being investigated by engineering.

Rob

Hi Rob,

Merry Christmas! I believe this issue is that corona set the wrong “offDirection” or provided the wrong image assets. It should be fixed in like 10 seconds, but I had been waiting for a month for this fix.

Would be glad to see the fix in next daily build.

Well it was more than 10 seconds.  Any way, the fix will have to go through the process (code reviews, QA, etc.) so it won’t make the next daily build given so many people are out for the holidays. 

Rob