Strange behaviour in setFillColor after build 775

Hi all,

I discovered today that my application has a strange behaviour after running build 775 when performing a fillColor or gradient inside a rounded rect.

It was working fine with build 760, for instance.

Here’s the extraction of the code:

Any idea?

[code]
local but2=display.newGroup()

local g = graphics.newGradient(
{ 255, 255, 255 },
{ 200, 200, 200 },
“down” )

local bckgbut2=display.newRoundedRect(380,320,170,50,8)
bckgbut2:setFillColor(g)
bckgbut2.strokeWidth=2
bckgbut2:setStrokeColor(255,255,255,128)
bckgbut2.isVisible=true
but2:insert(bckgbut2)
[/code] [import]uid: 3022 topic_id: 24167 reply_id: 324167[/import]

Ya, looks like something fishy going on here to me too. I know there’s been some rounded rect issues as of late. Unless directed otherwise, i think you should do bug report on this one. [import]uid: 21331 topic_id: 24167 reply_id: 97577[/import]

Well I’ve found where the problem is.

For some reason, after build 775 the use of antialias = true in config.lua file, causes a graphic strange behaviour when you want to draw rects, use fillColor and stroke properties.

Disabling this feature from config.lua: antialias=false fix this problem, but I guess this is a temporary solution or workaround until Corona staff fixes this problem, cause antialias should be available again.

Flavio. [import]uid: 3022 topic_id: 24167 reply_id: 97707[/import]

Just to add few lines:

The problem is visible either in Corona simulator as in the device.

Just add antialias=true and use the code already published at the beginning of this post to reproduce and see the issue on the screen.

Flavio [import]uid: 3022 topic_id: 24167 reply_id: 97709[/import]