| Ticket UUID: | 3529885 | |||
| Title: | negative resolution confuses scale widget | |||
| Type: | Bug | Version: | obsolete: 8.6b2 | |
| Submitter: | gregcouch | Created on: | 2012-05-26 02:27:31 | |
| Subsystem: | 15. [scale] | Assigned To: | fvogel | |
| Priority: | 6 | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2014-11-07 14:21:27 | |
| Resolution: | Fixed | Closed By: | dgp | |
| Closed on: | 2014-11-07 14:21:27 | |||
| Description: |
A negative resolution is used to indicate that the value should not be rounded, but then clicking in the trough causes the slider to move away from the mouse pointer instead of towards it. | |||
| User Comments: |
dgp added on 2014-11-07 14:21:27:
merged to release branches fvogel added on 2014-11-06 21:48:43: Test added in the scale test suite. Fails before the patch, succeeds with the patch. fvogel added on 2014-10-30 21:58:20: Thanks for the patch. I have understood what it does and it looks correct to me. Running the following script and playing with mouse clicks in the through areas confirms the problem is fixed: scale .s1 -from 0 -to 100 -digits 5 -resolution 1 scale .s2 -from 0 -to 100 -digits 5 -resolution -1 scale .s3 -from 100 -to 0 -digits 5 -resolution 1 scale .s4 -from 100 -to 0 -digits 5 -resolution -1 pack .s1 .s2 .s3 .s4 -side left Patch committed to branch bug-3529885fff gregcouch added on 2012-05-26 09:27:31: File Added - 444490: tk8.6-scale.patch | |||
Attachments:
- tk8.6-scale.patch [download] added by gregcouch on 2012-05-26 09:27:31. [details]
