Bug #3605
closedPossible bug with WSpinBox validator in test environment
0%
Files
Updated by S van der Hoest about 10 years ago
Sorry, pressed 'enter' too fast.
If possible please change the title to: "Possible Bug with WSpinBox validator in test environment".
Here is the problem:
My application uses WSpinBox objects.
When the application runs in the WTestEnvironment however, the spinbox validators are using the default range 0 to 99 instead of the custom set range.
I updated from 3.2.3 to 3.3.3 and now my tests fail on this.
I reproduced the problem in the sample Test application, see the attached screenshot.
Updated by Koen Deforche about 10 years ago
- Subject changed from Possible bug with WSpin to Possible bug with WSpinBox validator in test environment
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.3.4
Hey,
I believe I know what's missing and this should be easy to fix.
Koen
Updated by Koen Deforche about 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed
Updated by Emeric Poupon over 7 years ago
Hello,
I noticed weird behaviors with my application, using wt 3.3.7.
It seems there is a default range that is applied (0-99) even if no validator is set.
If I set a validator, the range is not respected using the up/down keys or the up/bottom buttons
However, it is respected when filling manually the number
Could you please confirm or inform this?
Regards
Updated by Emeric Poupon over 7 years ago
Hey,
My bad, I guess I got confused with the default WSpinBox range (0-99) and the associated validator.
I have to set both in order to make them work as expected.