-
-
Notifications
You must be signed in to change notification settings - Fork 32k
turtle.write() causes flickering when the tracer is turned off. #91212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When implementing an animation with turtle, usually the tracer is turned off via turtle.tracer(0, 0) and turtle.update() is called manually. When the tracer is off, most of drawing functions skips update() calls on the underlying Canvas. But turtle.write() does not do that. This causes flickering, as can be seen when you run the attached script. (Press space key to hide/show texts.) |
On Win10, running 3.11.0a5+ from command line, upper ABC and boxes flicker when strings are displayed. (When run with from IDLE editor, there is no flicker except sometimes when moving mouse over or off title bar buttons.) (3.8 only gets security fixes.) |
I tested on Ubuntu 20.04 with the following Python versions. 3.8.2(repository version)
3.11.0a5(compiled from the official tarball) Both cases cause flickering. |
Anyone can review the above PR? |
…nGH-95129) Fixed flickering when the tracer is turned off. (cherry picked from commit 4652093) Co-authored-by: Shin-myoung-serp <[email protected]>
Fixed flickering when the tracer is turned off.
…nGH-95129) Fixed flickering when the tracer is turned off. (cherry picked from commit 4652093) Co-authored-by: Shin-myoung-serp <[email protected]>
Fixed flickering when the tracer is turned off. (cherry picked from commit 4652093) Co-authored-by: Shin-myoung-serp <[email protected]>
Fixed flickering when the tracer is turned off. (cherry picked from commit 4652093) Co-authored-by: Shin-myoung-serp <[email protected]>
thanks! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: