** Summary changed:

- [REGRESSION] Text not shown when a .py file is executed
+ [REGRESSION] Screen does not update until a time function is called when 
runing a script.

** Description changed:

  See http://pastebin.ca/920522 for a code example (raw code at
  http://pastebin.ca/raw/920522 )
  
  When you paste the contents into the python console, you get "foobar"
  and "barfoo" on top of each other.
  
  If you save the code to "file.py" or any other name, and then execute it
  via  "python file.py", you don't see the text.
  
  Running gasp-0.2-unstable on ubuntu 7.10 on python 2.5
+ 
+ The problem here arose now that gasp updates itself based on pygame's
+ clock and the wait_for() function.
+ 
+ To fix this bug You need to create an attribute belonging to the Screen
+ class that acts as a flag switching from updateType = AUTOMATIC, or
+ WAIT.
+ 
+ the attribute should be initialized as AUTOMATIC
+ 
+ and as soon as a wait_for() function is called it should be changed to
+ WAIT.
+ 
+ Everytime you change the screen in anyway i.e(Move a shape, create a
+ shape, etc..)It should check the flag and see if the screen should
+ update now(AUTOMATIC) or later(WAIT) and either update or ignore
+ updating accordingly.

-- 
[REGRESSION] Screen does not update until a time function is called when runing 
a script.
https://bugs.launchpad.net/bugs/196117
You received this bug notification because you are a member of GASP
Development Team, which is a direct subscriber.

_______________________________________________
Mailing list: https://launchpad.net/~gasp-dev
Post to     : gasp-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/people/+me/+editemails
More help   : https://help.launchpad.net/ListHelp

Reply via email to