Reported by jteh on 2012-06-08 07:50
NVDAObjects.UIA.UIA._get_value can throw a !ZeroDivisionError if the !RangeValue pattern is supported but returns a maximum value of 0. While strange, I guess we should probably handle this possibility, since it has been seen in the wild. Also, this documentation suggests a default value of 0.0 for maximum.
We haven't seen this yet, but I'm also wondering whether we need to handle negative values here. I haven't found any documentation yet which specifies whether this is legal or not.
The text was updated successfully, but these errors were encountered:
Comment 1 by jteh on 2012-08-01 00:52
Should be fixed in 5da8300. I don't have any apps that produce this situation, but I've tested the calculations and they seem to be correct.