Opened 10 years ago

Closed 10 years ago

#9458 closed bug (notabug)

Possible flaw in Spinner Widget

Reported by: karl.auerbach Owned by: karl.auerbach
Priority: minor Milestone: none
Component: ui.spinner Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:


In 1.10.3 there appears to be a flaw in the Spinner widget.

The problem occurs when a min setting is given. If the min value is M and a value of V is given then the value displayed in the widget is V+M.

I have created a simple page to illustrate the problem:

There appears to be an additional problem that occurs when a spinner is used inside a Tab widget. That problem appears to multiply the "step" value by the number of tabs and adds that to the value that is displayed. This seems to be context and value sensitive - for example I could not cause it to trigger with "step" values of 8000 or lower. However, I do not have a clear example of this.

Change History (2)

comment:1 Changed 10 years ago by tj.vantoll

Owner: set to karl.auerbach
Status: newpending

Moved your test case: This is occurring because you're providing invalid data - the min is not a multiple of the step.

If you would like us to look into the tabs issue we need a reduced test case that shows the issue. You can use this as a starting point:

comment:2 Changed 10 years ago by Scott González

Resolution: notabug
Status: pendingclosed

You're trying to set an invalid value according to the min, max, and step. This behavior is correct. In the future, when you think there is a *potential* bug, please ask on the forums first.

Note: See TracTickets for help on using tickets.