[ python-Bugs-834351 ] Mouse wheel crashes program

SourceForge.net noreply at sourceforge.net
Tue Jan 4 16:40:39 CET 2005


Bugs item #834351, was opened at 2003-11-01 19:37
Message generated for change (Comment added) made by corvus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=834351&group_id=5470

Category: Tkinter
Group: Python 2.2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gary Richardson (garyrxx)
Assigned to: Martin v. Löwis (loewis)
Summary: Mouse wheel crashes program

Initial Comment:
The following program (by Michael Peuser)  crashes as 
soon as the mouse wheel is moved. See my post to 
c.l.p. on Oct 29.

Gary Richardson

#-------------------------
from Tkinter import *
def _onMouseWheel(event):
    print event

root = Tk()
root.bind('<MouseWheel>',_onMouseWheel)
root.mainloop()


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

Comment By: John Speno (corvus)
Date: 2005-01-04 10:40

Message:
Logged In: YES 
user_id=2138

I wasn't able to reproduce this in pure Tcl/Tk (under Wish). No surprise 
there. In wish, I used this:

toplevel .top
bind .top <MouseWheel> {puts 'foo'}

And mouse wheeling in the Toplevel widget made a bunch of 'foo's appear in 
the wish console without crashing.

HTH.


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

Comment By: John Speno (corvus)
Date: 2005-01-04 10:02

Message:
Logged In: YES 
user_id=2138

Me too. Python 2.3.4 with Tcl/Tk 8.4.9. Crash on Scroll Wheeling in WinXP 
SP 1. (users report it happening in SP 2 also).

I'll try to make this happen in pure Tcl/Tk rather than Tkinter too.

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

Comment By: John Fouhy (johnfouhy)
Date: 2004-10-25 23:13

Message:
Logged In: YES 
user_id=1084032

I can reproduce this bug.  I am running Python 2.3.4 on
WinXP SP2.

tk84.dll is version 8.4.3; tcl84.dll is also 8.4.3.

The mousewheel works correctly with a Tkinter.Text object
with no additional bindings.


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

Comment By: Jon Ashley (ash101)
Date: 2003-12-04 12:02

Message:
Logged In: YES 
user_id=923903

Happens for me too, on Win2K with python 2.3.2. The fault is
in TCL84.DLL at an offset of 1002a58c, if that means
anything to anyone.

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

Comment By: Gary Richardson (garyrxx)
Date: 2003-11-02 21:42

Message:
Logged In: YES 
user_id=899035

I'm using Win98SE. 

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-11-02 13:37

Message:
Logged In: YES 
user_id=21627

What operating system are you using?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=834351&group_id=5470


More information about the Python-bugs-list mailing list