Zho:文字消失问题

来自GHGWIKI

En:Disappearing Text Bug

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.[1] The Scratch 团队 seems to believe that the problem has been fixed. No one has experienced this problem since August of 2014.[2]

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[编辑]

File:Disappearing Text Bug.png
A severe example of the Disappearing Text Bug.

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.

Fixing It[编辑]

The most common method of bringing the text back is to do the following:

  1. Save the project (the save button is third down and the save as button is fourth)
  2. Exit Scratch
  3. Load the project. All text will be restored, except for those inside 造型 or backgrounds.
  4. 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:

  1. Use no or little text in costumes/backgrounds
    simply paint the text with the required tools.
  2. Save the project often if you're writing a large amount of text.
  3. Do not have too many background programs running.
  4. Only put in large audio files when you have finished the rest of the project.
  5. Use lots of little scripts rather than one large script.
  6. 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.

参见[编辑]

External Links[编辑]

参考[编辑]