Sujet : Mouse wheel events apparently not working in canvas on macOS with Tk 9.0.1 De : eric.brunel (at) *nospam* pragmadev.com (Eric Brunel) Groupes :comp.lang.tcl Date : 17. Feb 2025, 10:04:00 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<vouu20$12rik$1@dont-email.me> User-Agent : Pan/0.146 (Hic habitat felicitas; 8107378 git@gitlab.gnome.org:GNOME/pan.git)
Hello all,
I'm seeing a weird issue with tcl/tk 9.0.1 on macOS: if I create a canvas and bind mouse wheel events on it, it doesn't seem to receive them. Here is a tiny script showing the problem:
If I run that with tcl/tk 8.6.16 compiled from source on my mac mini (M1 chip, macOS Ventura 13.2.1), it works as expected, the mouse wheel events are received and the "." are printed. If I do the same with tcl/tk 9.0.1, again compiled from source on the same machine, it doesn't work: no "." is printed.
I tried with tcl/tk 9.0.1 also compiled from the source code on Windows and even Linux, and the same script works as expected: the mouse wheel events are received and the "." are printed. The only platform where it doesn't work is macOS.
This looks like quite a big problem, so I'd be surprised if it had been missed. Can anyone confirm what I'm seeing here? Is there an issue with my installation?
Thanks! -- Eric
Date
Sujet
#
Auteur
17 Feb 25
Mouse wheel events apparently not working in canvas on macOS with Tk 9.0.1