[Glade-devel] Glade 2.10.1 available



On Sat, 2005-09-17 at 17:06 +0300, Olexiy Avramchenko wrote:
Damon Chaplin wrote:
I've put Glade 2.10.1 up at:

   http://ftp.gnome.org/pub/GNOME/sources/glade/2.10/

It is just a bug fix release.
I'll announce it in a few days if no problems turn up.
Well, there's one issue I've found some days ago:
1. Create spin button.
2. Set step increment to 0.1.
Actual value, passed to XML is 0.10000000149 instead of 0.1. This leads 
to firing "value-changed" signal for spin button twice - very undesired 
  behavior, for my opinion.
As I understand this was introduced by #156016.

The sample - XML generated with glade-2.10.1, verified with gtk+-2.6.4 
(Ubuntu-5.04 Hoary). Compile, run and hit at least twice on the "up" 
arrow of the spin button. Signal handler will be invoked twice per value 
after the second hit.

I think the problem with "value_changed" being emitted twice is actually
a GTK+ bug. I've added a bug for it:
   http://bugzilla.gnome.org/show_bug.cgi?id=316771

But Glade could avoid it by outputting the correct value, "0.1".

Maybe Glade should use doubles rather than floats here. floats only
guarantee 6 digits precision, I believe. I've reopened #156016.

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]