Hi Bertrand,

I've found the cause. I had GTK animations disabled [1], which is apparently also applicable to the spin animation. After re-enabling animations the spinner works fine.

The reason I had disabled GTK animations is that on GTK+ 3.10 the InfoBar wasn't visible if shown directly on startup and if animations were enabled. On GTK+ 3.8 instead, it does work okay with animations enabled. So most likely a regression in GTK+ itself i presume?

If you want to try and run the code [2] make sure you install the gschema file [3], to satisfy gsettings...

Stephen

[1] http://bazaar.launchpad.net/~ztefn/haguichi/gtk3/view/head:/src/MainWindow.cs#L57
[2] https://code.launchpad.net/~ztefn/haguichi/gtk3
[3] http://bazaar.launchpad.net/~ztefn/haguichi/gtk3/view/head:/data/schemas/haguichi.gschema.xml


Bertrand Lorentz schreef:
Hi,

On Tue, May 27, 2014 at 9:33 PM, Stephen Brandt
<step...@stephenbrandt.com> wrote:
Hello everyone,

The Gtk.Spinner doesn't seem eager to spin using the gtk-sharp-3 bindings.
Even though I have set the obvious properties:
spinner.Active = true;
spinner.Start ();

Any ideas what's missing here or is it a just bug in the bindings? I've
tested on systems running Gtk+ 3.8 and 3.10, on both it didn't work.
I've just added a Spinner demo in git master:
https://github.com/mono/gtk-sharp/commit/c15a1d18

It seems to work fine for me, the Start() method makes it spin (Linux
with GTK+3.10.8).
Maybe something's wrong somewhere else in your code ?

--
Bertrand


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to