Delete no longer works with math blocks in set text blocks

Use this template to make awesome bug reports:

Your username: Sandpiper_Studios

What kind of device are you using?: iPad 9.7 iOS V 15

1 sentence description of the problem (I was doing _________, and then __________ happened): I was testing a math problem with a text object. I added “Set Text to (:arrow_forward: Height) color (black)”
It worked as expected, and I went back to change the height variable to a math problem and it wouldn’t delete, with the delete button in the lower right hand corner or the keypad delete. This is maneuverable, since I can just delete the text block and add a new one, but it’s frustrating if I need to hurry.

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Add a blank text object
  2. Set text to a variable
  3. Try to delete it
  4. Experience frustration
    ….

I expected this to happen: the Height var to delete

But instead this happened: nothing

Here’s a sweet screenshot: n/a since it’s my SDP game

@yuanyuan @AwesomeOnion

9 Likes

It also doesn’t delete addition, multiplication, subtraction or division blocks.

5 Likes

go to text (left side of the button “done”), write something and quit
this is only a temporary fix

5 Likes

Did you try selecting the variable and choosing “delete” from the pop up menu?

4 Likes

Yes, that doesn’t work either

4 Likes

Ok, so the real bug is that the deletion didn’t get rendered correctly. So it looks like it wasn’t deleted. But once I tapped out of the set text block (by tapping a blank space) after deleting the variable, the variable disappeared.

7 Likes

Ok, I did some testing, and it seems to not render the deletion when the entire operator or variable in the set text is deleted, until tapping out of the set text block. I’m sure this is an easy fix for THT.

  • Delete Variable in math operator in set text: shows deletion as normal
  • Delete the entire math operator or variable in set text: doesn’t render the deletion until a blank spot it tapped. Could this be caused by the frame not updating properly?
5 Likes