Hi Fulvio,
This is starting to look more complicated than it should be. I've glanced
over gitk code and it does some hocus-pocus based on platform to handle
correctly mouse wheel and focus. The same thing may be necessary here too.
Before I get a chance to test on Windows, can you try the same patch with a
simple change? Just replace the test $tl == ".main" with ![
::docking::isUndocked $tl ] while leaving the rest unchanged and let me
know if it does something sane.
I hope I don't transform this into a trial and error coding.
Thanks,
Cristian
On Mon, May 27, 2013 at 4:22 PM, Fulvio <f...@libero.it> wrote:
> Cristian Stoica wrote:
>
>> How do you build on Windows?
>>
> The wiki:
> http://sourceforge.net/p/scid/**wiki/CompileScid/<http://sourceforge.net/p/scid/wiki/CompileScid/>
> have instruction for both Visual Studio and MinGW
>
> Also keep in mind that tcl code is not compiled: you can also download a
> precompiled package and directly modify the scid.gui file.
>
> On linux you can see the patch's problem in a docked window with a
> vertical scrollbar.
> For example:
> - Open a database and a game
> - Open the tree window
> - Eventually reduce the tree window until it shows the vertical scrollbar
> - Now the tree window have the focus and if you use the mousewheel the
> view scrolls up and down
> - Move the mouse cursor over the board (the main board grab the focus)
> - Move the mouse cursor back over the tree window (the tree window don't
> grab the focus back)
> - Now the mousewheel scrolls up and down the tree window and at the same
> time change the board position (because the .main window still have the
> focus)
>
>
> Bye,
> Fulvio
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users