Closed
Bug 669377
Opened 13 years ago
Closed 6 years ago
Integer inline preferences have to accept negative numbers
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: whimboo, Unassigned)
References
Details
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110630 Firefox/7.0a1 The widget for integer inline preferences does only accept positive numbers at the moment. As per definition 'Integer' also covers negative values. Not sure how often negative numbers are used but I think there will be use cases. If you don't think so we should mark it as unsigned integer. Right now it's confusing.
Reporter | ||
Comment 1•13 years ago
|
||
(In reply to comment #0) > cases. If you don't think so we should mark it as unsigned integer. Right > now it's confusing. Probably that doesn't work because the preferences system doesn't support unsigned integers. So we have to handle negative values.
Reporter | ||
Comment 2•13 years ago
|
||
It's not that visible and probably rarely used. So I don't think we have to track this for Firefox 7.
Severity: normal → minor
Comment 3•13 years ago
|
||
The number control accepts negative numbers, if the min attribute is negative. Not sure what the lowest negative number it will take is, but that's unlikely to matter.
Reporter | ||
Updated•13 years ago
|
Version: 5 Branch → 7 Branch
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 4•13 years ago
|
||
Geoff, can you please clarify when you mark bugs as invalid? There can be still cases when extensions would need a negative value for a number field. So why has this bug been marked as invalid?
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 5•8 years ago
|
||
Hi there, seems this bug is open for a while now... Anyway as predicted my addon requires the integer field to support input of negative numbers (ex. TZ offset in minutes between a client and a server) which isn't possible at the moment. Although it's not a big deal to solve it from my side with a custom panel, just mentioning that if it was supported my life would have been a bit easier :)
Comment 6•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•