Deleting a character in large strings causes mass loss of text

1 sentence description of the problem: I was trying to edit the string to say that Ladders were also compatible with Dirt Walls, but it deleted half of the text, and when I tried to restore it, the app crashed

Steps to reproduce the problem every time:
(Start in a blank draft if possible)

  1. Edit a set variable block with lots of text
  2. Try to delete a single character anywhere in the text

I expected this to happen: Only delete that character

But instead this happened: It deletes half of the string

Screenshots/video:

(Include project link if relevant)
https://c.gethopscotch.com/p/12weso4f8p


Your username: Crosbyman64

Device type, iOS version: iPad13,8 | iPadOS 16.2

Hopscotch version & player version: 3.60.0 Build 7974 | Player 2.1.4
(you can go to :gear: > “About”, and take a screenshot)

9 Likes

I think I had this a few days ago.

8 Likes

this bug is really frequent when I code strings, but when it deleted, were you righting to the end of the line or did you go to the next line automatically? sorry if this is confusing

4 Likes

YES I HAD THIS

4 Likes

When going into edit mode, you are sent to the end of the string. I only showed it happening from there, but it can occur from anywhere. Not only that, the result will pretty much remain the same…

4 Likes

This is definitely really problematic.

I’m so sorry about all the loss of text that has happened for everyone here. I’ve logged this bug internally too – the bug report is very helpful.

I was able to test and confirm. A temporary workaround is to use the Hopscotch undo button once this happens. It’s also really problematic that the iOS undo button results in the app crashing.

I’ve just published a new project with the text isolated on its own for easier reference, if that’s ok. Please let me know if you would prefer for me to remove the text.

3 Likes

We’re working on a fix for this in a future update (not the one coming out very soon, but the one afterwards).

3 Likes

Speaking of, how soon can we except the next update. Not trying to be impatient or anything, just curious…

A few days, a week, tomorrow?

3 Likes

I definitely get being curious :joy: The earliest would be tomorrow if it gets approved by Apple, if not then later this week.

3 Likes

Great :+1:. I have high hopes it’ll be approved very quickly.

I’ll start checking the App Store tomorrow. I already do that anyways just to ensure I’m up to date will all my apps.

5 Likes

!?!?!?! letss goo!

4 Likes

ITS OUT OMG :D

4 Likes

This should be fixed in this update:

3 Likes

nop im pretty sure its not
however its not by deleting a character:

  1. type stuff
  2. leave
  3. reenter
  4. continue to type until you loose all your progress
4 Likes

That’s been happening, but it’s caused by something else.

The bug you described seems to be similar to this (so the bug that was fixed a while ago has returned):

It happens while typing in big text. Not even 5 characters in and it instant reverts back to the previous save.

Edit: I can’t reproduce with your steps…

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.