Public bug reported: Binary package hint: libgtkmm-2.4-dev
Gtk::Adjustment seems to ignore the initial value it is given in its constructor. In the attached example, an adjustment is initialized to 1 and used with a SpinButton. When you run it though, the SpinButton has a value of 0 and get_value() returns 0. Using set_value() in the Window's constructor, on the other hand, correctly sets the initial value. I was able to reproduce this bug on two computers running Ubuntu 6.10 but not on another one running Ubuntu 6.06. Using older versions of GCC doesn't seem to help. See attached sources files. ** Affects: gtkmm2.4 (Ubuntu) Importance: Medium Assignee: Ubuntu Desktop Bugs Status: Unconfirmed -- Gtk::Adjustment ignores initial value in constructor https://launchpad.net/bugs/69806 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs