Closed Bug 53394 Opened 24 years ago Closed 24 years ago

recent pages is ignoring pref

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: Brade, Assigned: cmanske)

Details

(Keywords: regression, Whiteboard: [nsbeta3+][fix in hand])

I'm not sure who to give this bug to since I know Ryan is busy with school these 
days.

I've noticed a regression with Recent Pages in the editor... it is ignoring the 
pref I set.  Is this a known issue?
Keywords: nsbeta3, regression
What pref? The one for number of items? I had to rewrite Ryan's stuff 'cause
it wasn't working. But the current version should be getting the number of 
items from the pref. Maybe the pref isn't being set? I don't have a running
build yet, so can you please check if the value is being written to prefs.js.
Yes, the pref is definitely getting set.  It always has been.  This was working 
but apparently the code was backed out/rewritten.  Exactly what bugs were fixed 
with the old code being backed out/rewritten?  We'll want to retest them if we 
make any changes.

I see another bug in recent pages as well but I'll file it as a separate bug.
Keywords: rtm
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Trivial to fix -- the pref is an INT not a STRING:
change:
  historyCount = gPrefs.CopyUnicharPref("editor.history.url_maximum");
to:
  historyCount = gPrefs.GetIntPref("editor.history.url_maximum");

Beppe: Can we get this one nsbeta+?
Status: NEW → ASSIGNED
Keywords: rtm
Target Milestone: --- → M19
charley has the fix in hand, will check in today
Whiteboard: [nsbeta3+][fix in hand]
checked in 9/21
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 9/22 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.