[Idle-dev] [ idlefork-Bugs-767396 ] Waiting for keyboard or mouse

SourceForge.net noreply at sourceforge.net
Tue Sep 9 18:44:40 EDT 2003


Bugs item #767396, was opened at 2003-07-07 17:13
Message generated for change (Settings changed) made by kbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=767396&group_id=9579

Category: None
Group: None
Status: Open
>Resolution: Accepted
>Priority: 7
Submitted By: Bruce Sherwood (bsherwood)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: Waiting for keyboard or mouse

Initial Comment:
With the idlelib included in Python 2.3b2 I find that

the following simple program "misbehaves" on Windows

but not on Linux:



from visual import *

box()

scene.mouse.getclick()



If with the graphics window open I go back to the edit

window and press F5, the first window stays up (and if

I keep doing this I get lots of them). If I click in

one of these old windows, it closes. 



A similar thing happens with a wait for keyboard input:



from visual import *

box()

s = scene.kb.getkey()

print s



Does this indicate something wrong in Visual that I

need to fix? Or is there some general issue with

idlelib in the case where a window is waiting for

keyboard or mouse input? This problem doesn't occur

with Idle_VPython.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=767396&group_id=9579



More information about the IDLE-dev mailing list