Re: Wait cursor animation does not work properly

2017-09-09 Thread Stefan Salewski
On Tue, 2017-09-05 at 08:50 +0200, Stefan Salewski wrote: > I will follow all your advice and start a new thread for the chess > engine to return the reply move. Well yes, but not now... For now I have pushed a still blocking release to github: https://github.com/StefanSalewski/nim-chess4 I

Re: Wait cursor animation does not work properly

2017-09-05 Thread Eric Cashon via gtk-list
Hi Stephan, I don't have wayland to test with so I can't confirm what you are seeing. My jhbuild of GTK3.22 also has a broken theme so I can't test cursors properly with 3.22 and x windows right now. If I had a setup I could test wayland on gentoo I might suspect the theme at first and

Re: Wait cursor animation does not work properly

2017-09-05 Thread Stefan Salewski
On Mon, 2017-09-04 at 22:39 +0100, Chris Vine wrote: > If Stefan needs any further assistance I think he needs to explain > what > his issue actually is. Well, my first posting in this thread seems to indicate a real issue, as Mr cecas...@aol.com confirmed. Animation does not continue when mouse

Re: Wait cursor animation does not work properly

2017-09-04 Thread Chris Vine
On Mon, 4 Sep 2017 14:05:08 +0100 Emmanuele Bassi wrote: > On 4 September 2017 at 11:58, Chris Vine > wrote: > > > As to your test case, that works fine in GTK+-3.22 with the X11 > > backend and the Adwaita theme. I do not have wayland installed. > >

Re: Wait cursor animation does not work properly

2017-09-04 Thread Emmanuele Bassi
On 4 September 2017 at 11:58, Chris Vine wrote: > As to your test case, that works fine in GTK+-3.22 with the X11 > backend and the Adwaita theme. I do not have wayland installed. > Possibly you have found a bug in the wayland backend, depending on > whether anyone else

Re: Wait cursor animation does not work properly

2017-09-04 Thread Paul Davis
On Mon, Sep 4, 2017 at 3:17 AM, Stefan Salewski wrote: > ​My chess engine takes only a few seconds to calculate > the next move, so creating an own thread is some overkill. ​Incorrect thinking. ​ > What I need: > User has done his move, so update display, indicate that

Re: Wait cursor animation does not work properly

2017-09-04 Thread Chris Vine
On Mon, 04 Sep 2017 09:17:10 +0200 Stefan Salewski wrote: > On Sun, 2017-09-03 at 16:54 +0100, Emmanuele Bassi wrote: > > You're blocking the toolkit's main loop, here. If your application > > does this, it's broken and needs to be fixed - regardless of what > > the cursor

Re: Wait cursor animation does not work properly

2017-09-04 Thread Stefan Salewski
On Sun, 2017-09-03 at 16:54 +0100, Emmanuele Bassi wrote: > You're blocking the toolkit's main loop, here. If your application > does this, it's broken and needs to be fixed - regardless of what the > cursor looks like. > > The cursor is rendered by the Wayland compositor, but the animation > is

Re: Wait cursor animation does not work properly

2017-09-04 Thread Stefan Salewski
On Sun, 2017-09-03 at 17:23 -0400, cecas...@aol.com wrote: > With a jhbuild of GTK3.22 I get a wrist watch type clock cursor for > "wait" that doesn't have any animation. Thanks for testing. So problem is not my local Gentoo box, but GTK 3.22. ___

Re: Wait cursor animation does not work properly

2017-09-03 Thread Eric Cashon via gtk-list
Hi Stefan, When I test your original post code, with GTK3.18 I get the animated "wait" cursor. With a jhbuild of GTK3.22 I get a wrist watch type clock cursor for "wait" that doesn't have any animation. The theme is broken there and I haven't got around to fixing it yet so that might be

Re: Wait cursor animation does not work properly

2017-09-03 Thread Stefan Salewski
On Sun, 2017-09-03 at 16:54 +0100, Emmanuele Bassi wrote: > You're blocking the toolkit's main loop, When I add a background function with g_idle_add() I am blocking the GTK main loop? Well I just wanted to avoid that. But even without use of g_idle_add() the animation stops, when I move the

Re: Wait cursor animation does not work properly

2017-09-03 Thread Emmanuele Bassi
On 3 September 2017 at 16:32, Stefan Salewski wrote: > On Sun, 2017-09-03 at 16:43 +0200, Stefan Salewski wrote: >> Since a few months I have observed that for my chess game the mouse >> pointer/cursor animation stopped working properly. > > Well, I have added the g_idle_add()

Re: Wait cursor animation does not work properly

2017-09-03 Thread Stefan Salewski
On Sun, 2017-09-03 at 16:43 +0200, Stefan Salewski wrote: > Since a few months I have observed that for my chess game the mouse > pointer/cursor animation stopped working properly. Well, I have added the g_idle_add() problem also. When I move the mouse pointer the first time into the button

Wait cursor animation does not work properly

2017-09-03 Thread Stefan Salewski
Since a few months I have observed that for my chess game the mouse pointer/cursor animation stopped working properly. Yesterday I tried cleaning up the code for moving the game GUI to the new high level Nim GTK GUI, but I was unable to get it working. When I moved the busy-cursor out of the