niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
2 stars 0 forks source link

Multiple of the same block action are allowed to be placed #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was working on an app and I could not find why my screen initalize was not 
working right.

Turns out I had more then 1 screen1.initalize event The only warning is a very 
small note saying its a duplicate. (which I had covered by another block)

What would be nice is any block that you can only place once gets hidden from 
the pick list on the side once the block has been used. 

Original issue reported on code.google.com by shivalw...@gmail.com on 17 Sep 2010 at 7:07

GoogleCodeExporter commented 9 years ago
Or popup a notice (And refuse to do it?) like when you try to plug in the wrong 
type of block.

Original comment by anxiet...@gmail.com on 17 Sep 2010 at 5:16

GoogleCodeExporter commented 9 years ago
Agreed, this causes enough pain and issue that AI shouldn't allow it to occur. 

Original comment by jwty...@gmail.com on 24 Sep 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Issue 555 has been merged into this issue.

Original comment by halabel...@google.com on 25 Oct 2010 at 1:42

GoogleCodeExporter commented 9 years ago

Original comment by ma...@google.com on 28 Oct 2010 at 7:49

GoogleCodeExporter commented 9 years ago
It would be great it it could be removed from the blocks drawer.  Even better 
if you couldn't type-add it either.  Basically, once it's created it can't be 
re-created.  Very helpful when you have a *whole mess* of blocks!

Original comment by godc...@gmail.com on 8 Jan 2011 at 2:12

GoogleCodeExporter commented 9 years ago
Personally I'd prefer that both/all duplicate blocks get executed rather than 
only allowing one handler. That way if the order of execution isn't 
deterministic I don't have to imply one.

Original comment by alan...@gmail.com on 5 Apr 2011 at 7:35