Page 1 of 1

set imageData crashing on mac

Posted: Mon Mar 03, 2014 6:36 pm
by CenturyMan1979
Hey All,

Does anyone else notice livecode (6.5.2 Build 3014) crashing when trying to set the imageData of an image to itself on mac? It does not seem to happen with every image which is the other weird part. Here is the line of code that is causing the application to crash,

Code: Select all

set the imagedata of image id tShortID to the imagedata of image id tShortID
Is this not a supported method for reducing the image size anymore?

Re: set imageData crashing on mac

Posted: Mon Mar 03, 2014 7:41 pm
by thatkeith
That should work! I used pretty much the same thing myself just a couple of hours ago:

Code: Select all

set the imageData of me to the imageData of me
Perhaps a sanity check on the tShortID variable contents?

Re: set imageData crashing on mac

Posted: Tue Mar 04, 2014 4:44 pm
by CenturyMan1979
Looks like there was a current bug with this issue,
Bug 11462 - Failing to set image data to the image data of self
And in the notes about this they put,
your bug report has been addressed and the issue you raised is fixed. We fixed this bug in release: LiveCode 6.6.0 DP 1.
So hopefully this issue will be fixed when 6.6.0 releases. Anyone know the release schedule is for 6.6.0?

Re: set imageData crashing on mac

Posted: Tue Mar 04, 2014 4:58 pm
by FourthWorld
6.6.0 DP1 is available now:
http://downloads.livecode.com/livecode/

Re: set imageData crashing on mac

Posted: Tue Mar 04, 2014 7:55 pm
by BvG
Don't forget that DP means "developer preview" and is what other companies would call a beta release. A proper release can be expected within some weeks.