Clones not clones.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Clones not clones.

Post by dunbarx » Wed Aug 16, 2017 6:17 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Clones not clones.

Post by FourthWorld » Wed Aug 16, 2017 7:08 pm

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Clones not clones.

Post by dunbarx » Wed Aug 16, 2017 8:43 pm

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

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Clones not clones.

Post by LiveCode_Panos » Thu Aug 17, 2017 12:42 pm

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

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”