[hafqa] [hafqa] [Bug 1243] gtk.Scale's set_draw_value breaks tick marks

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu May 3 16:42:46 EEST 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1243


sean at cs.gmu.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From sean at cs.gmu.edu  2007-05-03 16:42 -------
Tommi, set_digits has TWO functions:

1. It sets the number of digits being displayed (through format-value).
2. It defines the number of ticks that the Scale is restricted to.  The user is not permitted to drag the Scale 
to anything other than a tick mark position.  (I agree that the displayed digit resolution has nothing to do 
with the number of tick marks desired, and so it is really *very* stupid of GTK to have tied these two 
together, but that's the way it is).

When you call set_draw_value(False), it's supposed to turn of #1.  Unfortunately it ALSO turns of #2, which 
is dead wrong.  I am reopening this bug as it sounds like in your message that you only verified #1 (which 
isn't relevant) and figured, rightly, that #1 was appropriate.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list