scratch icon indicating copy to clipboard operation
scratch copied to clipboard

adding duplicated block results in almost invisible block.

Open heppg opened this issue 11 years ago • 5 comments

szenario: script on stage, Duplicate last block of script and add to end of same script. The block is added, but very low height, no text visible. It can be dragged away and added somewhere else. almost_hidden_block

heppg avatar Aug 21 '14 09:08 heppg

Hi - I'm not ignoring you, so please don't stop reporting problems! Right now I'm at the European Smalltalk User Group meeting at Cambridge and occasionally in the Pi offices. I'll be back in full service soon.

/tim {insert witticism here}

On Aug 21, 2014, at 10:58, heppg [email protected] wrote:

szenario: script on stage, Duplicate last block of script and add to end of same script. The block is added, but very low height, no text visible. It can be dragged away and added somewhere else.

— Reply to this email directly or view it on GitHub.

timrowledge avatar Aug 21 '14 11:08 timrowledge

Interesting. Using the 'stamp' tool to do the duplicate work properly, but using the popup menu to duplicate doesn't. Dragging the partially hidden tile away and then dropping it back makes the display ok. Looks like the owner/parent isn't getting some important message if the new tile is simply dropped directly. If we use the menu to duplicate and drag the new tile around a bit it works ok when dropped under its 'original' IFF we've also caused the white drop-target marker to move to another target. Simply making it vanish by dragging down and the back up to drop won't do it. OH joy, time to look at that horrible dragging code again.

timrowledge avatar Sep 19 '14 02:09 timrowledge

Extra cases; duplicating a single block (making two total) works ok. Duplicating again for a third causes this error. Debugging this is ... hard.

timrowledge avatar Oct 16 '14 17:10 timrowledge

Good grief this is painful. Debugging the debugging of the bug in the debugger, with live events causing the bug but essential to running the debugger.

D'oh, and I just broke it fatally again.

timrowledge avatar Oct 17 '14 02:10 timrowledge

Still available in scratch-2015-07-18

heppg avatar Jul 21 '15 18:07 heppg