Page 1 of 1
Clones not clones.
Posted: Wed Aug 16, 2017 6:17 pm
by dunbarx
6.7.9
I know.
If I make a small oval graphic, that is, resized to be much smaller than the default, and then try to clone it, the copy comes as the default size. Makes no difference if I lock the size and loc of the original.
Bug in legacy LC?
Craig Newman
Re: Clones not clones.
Posted: Wed Aug 16, 2017 7:08 pm
by FourthWorld
Known, likely a design decision which affects the subset of use cases where a graphic may be too small to work with interactively:
https://www.mail-archive.com/use-liveco ... 80797.html
Reported for consideration whether to update docs or the code:
http://quality.livecode.com/show_bug.cgi?id=14025
Re: Clones not clones.
Posted: Wed Aug 16, 2017 8:43 pm
by dunbarx
Richard.
Thanks.
It felt like it was intentional. For my purpose, I needed 100 clones. I had to write a short handler to clone the last grc, then set the clone's height, width, name and loc. Not too bad. This might end up as a library gadget, "cloneExactly".
Craig
Re: Clones not clones.
Posted: Thu Aug 17, 2017 12:42 pm
by LiveCode_Panos
Hi guys, I am almost sure that BerndN has submitted a PR that fixed that bug in LC9. (I am out of office now so I cannot check)
Best,
Panos