From: Joe E. <jen...@fl...> - 2008-12-17 06:24:52
|
Kevin Kenny wrote: > Donal K. Fellows wrote: > > * TIP#171 should be easy to act on; I've not done it yet because I'm > > not the relevant maintainer. > > Didn't we do these changes already? Why not? Jeff?? I (for one) still have unanswered questions about the proposed TIP#171 implementation. Specifically: | instead of going through all sorts of rigamarole at | the scripting level to redirect MouseWheel events | to the widget under the pointer on Windows, wouldn't | it make more sense to simply not redirect them to | the focus window in the first place (see tkEvent.c, | InvokeFocusHandlers)? That's how it's currently done | on OSX. I suspect it also interferes with some of | the ttk::* widgets. I agree with the TIP#171 Rationale (paraphrased: "On Windows, mouse wheel scrolling should affect the widget under the pointer [just like it does on X11 and OSX] instead of the widget with keyboard focus.") But the proposed implementation smells really bad to me. (The proposed implementation looks like a usable stopgap solution for Tk <= 8.5, but long-term it is -- I suspect -- something we're just going to have to undo later.) --JE |