Sujet : Re: ttk::notebook mouse wheel event
De : alexandru.dadalau (at) *nospam* meshparts.de (alexandru)
Groupes : comp.lang.tclDate : 01. Jan 2025, 11:54:20
Autres entêtes
Organisation : novaBBS
Message-ID : <8dc1a2399e1c4775aefbea343321d4a7@www.novabbs.com>
References : 1 2 3
User-Agent : Rocksolid Light
Many thank Csaba, as always you are huge helper.
I will deactivate the binding.
This is why: My software makes use of mouse wheel a lot and it
interferes with the schange of tab in an anwanted manner.
The user moves the mouse around and it's not simple to pay attention to
the area of focus. So the mouse slides out of the current focus area and
hovers over some tabs triggering the change.
I observed this issue multiple times in the last months of support with
my customers.
A better kind of binding to mouse wheel for thabs can be found in
FireFox.
There, the wheels truelly scrolls the tabs without changing the active
tab.
Just imagine how big of a problem that would be in FireFox having the
same behavior as in Tcl/Tk.
Since the user constantly uses the mouse wheel, having to make sure that
the mouse pointer never unwantedly hovers over the tabs!
I really hope you could rethink this implementation and maybe switch to
how this feature works in FireFox.
Also, I can only hope the Tcl 9.0 has a way of working around this.
Happy new year to all!