LIVECODE 7 DP3 Graphic Effect outerGlow

Discussion about LiveCode Global Jam events and activities

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

LIVECODE 7 DP3 Graphic Effect outerGlow

Post by capellan » Fri May 23, 2014 2:37 am

Hi All,

Could you test if applying/removing the graphic effect outerGlow
on a freehand graphic crash LiveCode 7 DP3?

Bernd Niggeman send me a stack where this effect is applied in many
vector graphics. If I click a button to remove the effect, LiveCode 7 dp3 quits.
No error message, no warning... just quits.

This does not happen in LC 6.7 dp4.

Check both stacks included in this message.
Open one stack in LC 6.7 dp4 and click the button "outerGlow"
This Graphic Effect is removed from all graphics.
Open the second stack in LC 7 dp3 and click the button "outerGlow"
LiveCode quits.

Thanks in advance!

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: LIVECODE 7 DP3 Graphic Effect outerGlow

Post by sefrojones » Fri May 23, 2014 3:23 am

I Don't have 6.7 installed, But I can confirm that it works in 6.6.2 (rc3), but crashes Livecode 7.0 (DP3)

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: LIVECODE 7 DP3 Graphic Effect outerGlow

Post by bn » Fri May 23, 2014 8:10 am

Hi,

it is a known bug
Bug 12459 - setting any graphic effects to "none" crashes LC 7 dp3
and awaiting build.

The problem was that LC 7 dp3 did not accept "set the outerglow of object to none" Previous versions accepted that syntax.
I never looked that up before the crashes and just used "none" instead of "empty". Which sounded just as good :)

Strictly speaking, according to the dictionary, "none" is synonymous to "zero". So my use of "none" was off label. :)

Setting a fillgradient to "none" in LC 7 dp3 throws an error instead of crashing. I hope they will allow that syntax also for gradients.

As far as I understand they will reinstate "none" as equivalent to "empty" in this regard to keep backward compatibility.

Kind regards
Bernd

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 192
Joined: Thu Apr 18, 2013 2:48 pm

Re: LIVECODE 7 DP3 Graphic Effect outerGlow

Post by livecodeali » Fri May 23, 2014 10:53 am

Hi all,

This bugfix made it in to 7.0dp4 at the last second, and so shouldn't crash any more in that version.

Kind Regards,

Ali

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: LIVECODE 7 DP3 Graphic Effect outerGlow

Post by bn » Fri May 23, 2014 10:56 am

Hi Ali,

thanks for the super speedy fix.

Did you allow "none" for gradients too. Up to now it throws an error in 7 dp3

Kind regards

Bernd

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 192
Joined: Thu Apr 18, 2013 2:48 pm

Re: LIVECODE 7 DP3 Graphic Effect outerGlow

Post by livecodeali » Fri May 23, 2014 11:24 am

Yes, I changed the gradient behaviour to match the bitmap effect behaviour. Unfortunately in the process I seem to have caused but 12483, which I am currently fixing.

Ali

Locked

Return to “LiveCode Global Jam”