Public bug reported: Calling set_draw_value(0) when a scale has a step set (either in a constructor, or using a set_digits() method) resets the step.
Steps to reproduce: Create, lets say, a HScale and set it's step to one. Then hide it's value. Gtk::HScale* scale = new Gtk::HScale(0,5,1); scale->set_draw_value(0); Or, alternatively Gtk::HScale* scale = new Gtk::HScale; scale->set_digits(0); scale->set_draw_value(0); What is expected: A horizontal scale, without it's value drawn, which user can set only to integer numbers (since the step is 1). What happens instead: A scale in fact doesn't have it's value drawn, but the user can move it smoothly, continuously, the step is surely much smaller than 1. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: libgtkmm-2.4-dev 1:2.20.3-1 ProcVersionSignature: Ubuntu 2.6.35-15.21-generic 2.6.35.1 Uname: Linux 2.6.35-15-generic x86_64 NonfreeKernelModules: wl Architecture: amd64 Date: Thu Aug 19 19:03:42 2010 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1) ProcEnviron: LANG=pl_PL.utf8 SHELL=/bin/bash SourcePackage: gtkmm2.4 ** Affects: gtkmm2.4 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug maverick -- Gtk::Scale.set_draw_value(0) resets the scale's step https://bugs.launchpad.net/bugs/620566 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs