[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-09-17 Thread E. Paine
E. Paine added the comment: > Sometimes it doesn't pendown when I drag Sorry, I can't think why this would be. Maybe ask on Stack Overflow? For now, though, I doubt it's a bug with turtle so IMO this issue should be closed. -- ___ Python tracker

[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-08-31 Thread Techn010 Je11y
Techn010 Je11y added the comment: I tried EP's fix. Sometimes it doesn't pendown when I drag, and only does when I stop moving my mouse for a moment(or just release). -- ___ Python tracker

[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: (turtle module has no relation to IDLE other than also using tkinter. The fact that turtledemo can be run from IDLE is incidental.) 3.10.0rc installed on Win 10. I first clicked randomly and never saw a missing 'release'. I noticed that the turtle

[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-08-28 Thread E. Paine
E. Paine added the comment: The issue is that the "release" function appears to be called before the "drag" function for the last coordinate. The fix is probably only lowering the pen when the mouse button is first clicked, as this is guaranteed to be called before "release". I ended up

[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-08-28 Thread Techn010 Je11y
New submission from Techn010 Je11y : (pls read with reference to attached code) I made a Paint-ish program with Turtle. As there isn't ondrag or onrelease for Screen, I created a turtle named bg so I could use ondrag and onrelease (see file attached ig) and eliminate the need for