Closed
Bug 116495
Opened 24 years ago
Closed 23 years ago
numeral zero disappears in Prefs | Composer | maximum number of pages listed
Categories
(SeaMonkey :: Preferences, defect, P3)
SeaMonkey
Preferences
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: contact2009, Assigned: samir_bugzilla)
Details
(Keywords: helpwanted, polish, regression)
Attachments
(1 file)
|
1.00 KB,
patch
|
morse
:
review+
|
Details | Diff | Splinter Review |
Actual behavior: Go to Preferences | Composer | Recent Pages Menu | Maximum
Number of Pages Listed, and set it to 0 (zero). Close preferences. Go back to
that setting. See that the box has no value at all. The box is totally white.
Expected behavior: Go to Preferences | Composer | Recent Pages Menu | Maximum
Number of Pages Listed, and set it to 0 (zero). Close preferences. Go back to
that setting. See that 0 (zero) is still listed.
Comment 2•24 years ago
|
||
i'm wondering if this is expected behavior. but i can certainly understand being
consistent and displaying '0' rather than a blank textfield.
also see this on linux, 2001.12.21.08 comm bits.
Comment 3•24 years ago
|
||
The pref value is correctly stored as "0". The problem is when filling in that
value in the editfield. The code that does that is not Composer-specific, but
is done by the global "prefs dialog" code, which reads/sets the pref values
via the widget IDs in the "_elementIDs" array in pref-composer.xul.
It probably is testing for "true" before setting the value, so the "0" is
preventing the editfield from display that numeral.
Assignee: cmanske → ben
Comment 4•24 years ago
|
||
samir, would you be able to fix this? punt as needed!
Assignee: ben → sgehani
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
morse, please r.
alecf, please sr.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.8
Comment 7•24 years ago
|
||
Comment on attachment 63320 [details] [diff] [review]
Don't test for null since values can be ints in the generic_set() call.
r=morse
Attachment #63320 -
Flags: review+
Comment 8•24 years ago
|
||
Comment on attachment 63320 [details] [diff] [review]
Don't test for null since values can be ints in the generic_set() call.
hmmm.. I think we had problems with this before where string prefs became
"null" if they didn't have a default value.. can you check some other pages on
a new profile, see if you see "null" anywhere?
| Assignee | ||
Comment 9•24 years ago
|
||
Yup, I had a similar afterthought. So I'm thinking we'll check for null and
maybe even an empty string ("") but if it's a 0 we should let it through. I'll
retest with a modified patch. Thanks for calling this out.
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
| Assignee | ||
Comment 10•24 years ago
|
||
-> Future
Keywords: helpwanted
Target Milestone: mozilla0.9.9 → Future
| Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.0.1
| Reporter | ||
Updated•23 years ago
|
Comment 11•23 years ago
|
||
Marking nsbeta1- per Nav triage team.
| Reporter | ||
Comment 12•23 years ago
|
||
It's now called "maximum number of pages listed" in Edit | Preferences | Composer.
Keywords: mozilla1.1
Summary: numeral zero disappears in prefs: recent pages menu: maximum number → numeral zero disappears in Prefs | Composer | maximum number of pages listed
| Reporter | ||
Comment 13•23 years ago
|
||
This is fixed in trunk at latest by build ID: 2002062713.
Resolving Worksforme.
Thank you for fixing this!
| Reporter | ||
Comment 14•23 years ago
|
||
This is fixed on trunk. It doesn't seem important enough to go into the branch.
Thus, it should be resolved fixed, rather than left open.
| Reporter | ||
Comment 15•23 years ago
|
||
Can this be resolved fixed to get it off the radar?
| Reporter | ||
Comment 16•23 years ago
|
||
Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: mozilla1.0.1,
mozilla1.1
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•