This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-12-06 10:56:36

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

I think I figured out what causes the disappearing text bug.

Memory. It only seems to happen:
-in big projects with lots of scripts
-in projects with lots of media
-when other applications are running such as IE
-on slow computers

All of which take up a lot of memory.
Here's my theory: I think that when memory is running low, scratch tries to optimize available memory. I think it clears some cache that has to do with text that can either be directly changed or could be changed by scratch when you do something. All the data is still stored, except for the display, so you see an empty box. So if it needs to be redrawn, like if you put something over it, it can't find anything to draw it with. That may explain why saving it, or closing and reopening it, restores the text as it has to load the data from a file and and build the GUI for the project.

I haven't actually read the scratch source code so I cant say for sure, but it is my theory of what happens.
Hope we can get it fixed!


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#2 2012-12-06 11:14:51

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: I think I figured out what causes the disappearing text bug.

Seems right to me.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-12-06 17:47:37

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: I think I figured out what causes the disappearing text bug.

According to here, it's not a bug in the scratch source code; instead, it's a bug in the unicode.dll source code


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#4 2012-12-12 21:52:32

nitromian
Scratcher
Registered: 2012-09-02
Posts: 9

Re: I think I figured out what causes the disappearing text bug.

I have had several run-ins with this glitch, and I'm glad I know what causes it now. I really gotta get a better computer.

Offline

 

#5 2012-12-15 16:54:54

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: I think I figured out what causes the disappearing text bug.

nitromian wrote:

I have had several run-ins with this glitch, and I'm glad I know what causes it now. I really gotta get a better computer.

It's just a theory i'm not sure if that's really what causes it but it's just my guess.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#6 2013-01-06 05:23:20

LFOB
Scratcher
Registered: 2010-06-11
Posts: 90

Re: I think I figured out what causes the disappearing text bug.

Slow computers? THAT WOULD EXPLAIN IT.


http://scratch.mit.edu/static/projects/LFOB/2413118_med.png  http://scratch.mit.edu/static/projects/LFOB/2255829_med.png

Offline

 

Board footer