|This article or section documents a feature not included in the current version of Scratch (2.0). It is only useful from a historical perspective.|
The Disappearing Text Bug is a common bug in the Windows version of Scratch, first documented in Scratch 1.3, and was found in 2.0 by some users. The Scratch 团队 seems to believe that the problem has been fixed. No one has experienced this problem since August of 2014.
How it Appears
The bug appears at random. Programs running outside of Scratch can have an effect. The good news is that it only makes variable (not to be confused with 变量) text disappear. This means that any numbers or strings you typed in, broadcast names, variables/lists, dropdown menus, and the 专案 name are immediately affected.
What it Does
Once the bug arrives, text in thumbnail images, 积木 names, buttons, and more vanishes. The order of disappearances is random, but is usually caused by attempts to edit or move possible victims of the bug.
The most common method of bringing the text back is to do the following:
- Save the project (the save button is third down and the save as button is fourth)
- Exit Scratch
- Load the project. All text will be restored, except for those inside 造型 or backgrounds.
- Enter the 绘图编辑器 by clicking the Edit button on each costume/background. Do not alter the image
— simply click OK and move on. Occasionally, "editing" a few costumes, saving, and reopening the project can work.
All text will be restored, but this method takes time if the project contains many items of text.
In some controlled tests where the Disappearing Text Bug has been replicated, simply saving your project, closing it, then reopening it, will restore all text. In some cases this must be done twice.
Another method is to repeatedly save the project instead of editing the costumes. This has to be done after the project has been reloaded, however.
Avoiding the Bug
The bug cannot be completely avoided, but it is possible to lower the chance of it appearing.
The following can be done:
- Use no or little text in costumes/backgrounds
— simply paint the text with the required tools.
- Save the project often if you're writing a large amount of text.
- Do not have too many background programs running.
- Only put in large audio files when you have finished the rest of the project.
- Use lots of little scripts rather than one large script.
- Save your project before opening presentation mode.
The above will lower the chance or reduce the impact of the glitch, but will not stop it completely.
- Sticky: What to do when all text disappears...
- Let's get the "Disappearing Text" problem solved!
- I think I've cracked the Disappearing Text Bug!!