* saito <
[email protected]>
| On 7/29/2025 12:28 PM, Ralf Fassel wrote:
| >
https://core.tcl-lang.org/tk/tktview/47d4f291598222849fc0121e7ffbdee53766ce77
| > deliberately changed the behaviour of Enter/Leave events of widgets in a
| > parent/child relationship: now when entering a child, the parent gets a
| > leave event.
| > Is there any smart advice how to handle that situation other than
| > traversing the hierarchy when setting the tooltip?
| How interesting! Just a few days ago I came across a quite similar
| behavior after upgrading to 8.6.16. The Enter/Leave events were not
| behaving properly. After quite a bit of trying to see why, I came up
| with a solution that seems to work: Just add a smalll delay in your
| event handlers. I used "after 50".
Could you post some more detail on your situation? What did you trigger
with Enter/Leave, what was the problem, and how did adding a delay solve
the problem?
In my situation the 'problem' is the 'new' (2024, well... :-) Leave event, which did not come before 8.6.13. I don't see how adding a delay would
affect the tooltips 'cancel'-action in response to the Leave event: it
does IMHO not matter whether the tooltip is cancelled now or 50ms
later...
TNX
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)