[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-21 Thread Shin-Myoung-Serp


Shin-Myoung-Serp  added the comment:

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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

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.)

--
nosy: +terry.reedy
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Shin-Myoung-Serp


New submission from Shin-Myoung-Serp :

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.
(See the implementation of TurtleScreenBase._write().)

This causes flickering, as can be seen when you run the attached script. (Press 
space key to hide/show texts.)

--
components: Library (Lib)
files: test_anim_write.py
messages: 415475
nosy: relent95
priority: normal
severity: normal
status: open
title: turtle.write() causes flickering when the tracer is turned off.
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file50690/test_anim_write.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com