Issue 1528363: forward in turtle module may cause incorrect display (original) (raw)

Created on 2006-07-25 12:52 by naturemage, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
forward.JPG naturemage,2006-07-25 12:52 forward display
Messages (4)
msg29277 - (view) Author: NatureMage (naturemage) Date: 2006-07-25 12:52
Use forward() in the turtle module to draw horizontally from right to left, if the starting position's x and y coordinates are different from the origin, the line may not appear straight. But if the tk window is redrawn, for example minimized and then restored, the line will be properly displayed. The following code will reproduce this issue: # start from turtle import * from Tkinter import * color("maroon") up() goto(30, 30) down() left(180) forward(100) mainloop() # end I checked the source of the turtle module, but failed to figure out the reason. The attatchment contains a snapshot of what happens. My environment: Python version: 2.4.3 OS: Windows XP sp2 Video Card: Nvidia 6600 CPU: P4 2.66G Hz Mem: 1G
msg84500 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-03-30 04:35
Cannot confirm on Linux/trunk.
msg114808 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-24 19:49
I can't reproduce this with 3.1 on Windows Vista so can this be closed?
msg119147 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-10-19 17:36
I cannot reproduce this on OSX. I have verified that the turtle position is correct (-70.00,30.00) after the steps reported by OP. This must be out of date.
History
Date User Action Args
2022-04-11 14:56:19 admin set github: 43718
2010-10-19 17:36:54 belopolsky set status: open -> closednosy: + belopolskymessages: + resolution: out of datestage: test needed -> resolved
2010-08-24 19:49:31 BreamoreBoy set nosy: + BreamoreBoymessages: +
2009-03-30 04:35:30 ajaksu2 set priority: normal -> lowtype: behaviorversions: + Python 2.6, - Python 2.4nosy: + ajaksu2messages: + stage: test needed
2006-07-25 12:52:08 naturemage create