Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-08 Thread Steve A
Seems much better, but on linux there still seems bugs with focus and comment editor * Run Scid in docked mode with only a few windows open * Open base * click on comment * right click comment editor tab and select "Move to bottom" Program has lost keyboard focus, and Comment Editor can't be typed

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-08 Thread f...@libero.it
Seems to work fine: many thanks! Messaggio originale Da: cristi...@gmail.com Data: 08/07/2013 22.08 A: "f...@libero.it" Cc: "scid-users" Ogg: Re: Re: Mouse Wheel handling without focus stealing Hi Fulvio, I've updated the patch for mouse wheel handling on Windows. Have a look at

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-08 Thread Cristian Stoica
Hi Fulvio, I've updated the patch for mouse wheel handling on Windows. Have a look at branch fix_mouse_wheel4 Please note that in current master, handling of shift-mousewheel game fast navigation is removed. Cristian S. The following changes since commit f5de496bc5bc49a2c1bf5008fdacf7a20dd5d906:

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-06 Thread f...@libero.it
See if fix_mouse_wheel2 branch is better suited as base for new work. Cristian Thanks.I've pushed a couple of patches and i believe that on linux and mac should already be fine.Anyone that is willing to compile the latest code and try the mousewheel behavior (especially on mac) can help

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-06 Thread Cristian Stoica
> > placing library functions is very error prone. A new developer should not > need to read all the code to contribute to the project and he should be > able to assume that standard functions behave normally. > We can call it scidBindMouseWheel or consistentBindMouseWheel or > nofocusBindMouseWhe

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-06 Thread Fulvio
Cristian Stoica wrote: So instead of adding scroll to every canvas and then removing the wrong ones, one by one, I prefer to know exactly what bindings there are. I agree, this is certainly better. Two ideas: - ttk_bindMouseWheel (preferable ttk::bindMouseWheel for transparency) could make

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-06 Thread Cristian Stoica
> Unfortunately there are still some small issues, for example: > - Without the "break" in ttk_bindMouseWheel the message continues to be > propagated (add a line "return" in gamelist.tcl:823 to try what I mean) > With disabled glist.ybar_, mouse wheel is handled by Treeview class but in current ma

Re: [Scid-users] Mouse Wheel handling without focus stealing

2013-07-06 Thread f...@libero.it
Hi Cristian, thanks for your work. Unfortunately there are still some small issues, for example: - Without the "break" in ttk_bindMouseWheel the message continues to be propagated (add a line "return" in gamelist.tcl:823 to try what I mean) - Mousewheel no longer works over the board when browsin

[Scid-users] Mouse Wheel handling without focus stealing

2013-07-05 Thread Cristian Stoica
Hi Fulvio, These are a series of patches for scid that fix MouseWheel handling for a consistent behavior across all platforms. I think FICS users will find these patches useful. I've tested it on Linux and Windows and I would appreciate if anyone can provide testing results for Mac. Please review