Closed Bug 23979 Opened 26 years ago Closed 26 years ago

many pages loaded twice or don't show up at all

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 22203

People

(Reporter: dbaron, Assigned: ftang)

Details

(Whiteboard: [pdt-])

DESCRIPTION: I've noticed recently (the past week or two) that many pages are loaded when I load them. In particular: * every bugzilla form I submit is submitted twice (although the second time is without the POST data, so I get an error instead of a double-submission) * the bugzilla query page is loaded twice, after it's been loaded a first time I have traced this problem to the following line in my prefs.js file: user_pref("intl.charset.detector", "ruprob"); If I remove the line, the bug goes away. STEPS TO REPRODUCE: * add the above line to your prefs.js * load http://bugzilla.mozilla.org/query.cgi * hit reload ACTUAL RESULTS: * the page begins reloading - the page background becomes visible and the form controls show up, and then it disappears again and loads a second time EXPECTED RESULTS: * it should only load once. DOES NOT WORK CORRECTLY ON: * Linux, mozilla, 2000-01-13-13-M13 ADDITIONAL INFORMATION: I still haven't tested that removing the line fixes the problem for form submission. (I have for the query page.) I'll test on this bug and report the results.
There's a third case where I see this reliably: * the javascript URL that I bookmarked from http://bugzilla.mozilla.org/ that allows me to enter a mozilla bug #. What happens is that I see the dialog box asking for the bug number twice. Removing the pref fixes this problem.
Removing the pref also fixes the form submission problem. So, they all seem to be the same problem. I don't know how many people have this pref set, but I didn't set it myself, so some copy of the browser must have done it.
Severity: normal → major
This pref was also causing the problem I've been seeing recently that pages often don't show up, and I have to hit reload to get a page to show up. My earlier testing had confused me into thinking that that was a separate bug, but I don't think it is. This pref is generally harmful. If it's not supported anymore, then it shouldn't trigger anything, because some people still have it in their prefs.js files. I'm changing this to 'major'. This was preventing my DOGFOOD use of the browser for a week (when I didn't have time to investigate the bug).
Summary: many pages loaded twice → many pages loaded twice or don't show up at all
Code containing the string "ruprob" is in the files: /intl/chardet/src/nsCyrillicDetector.cpp /intl/chardet/src/nsCharDetModule.cpp /intl/chardet/tests/DetectCharset.cpp
Status: NEW → ASSIGNED
Target Milestone: M14
This pref should be set by change the "Auto Detect" menu. I have not heard anyone else have the problem that this pref got set by the browser. By design, the page may load twice if you set that pref. The first time load with default charset, and the 2nd time load with detected charset. It won't load twice if the detected charset are the same as the default. Howerver, we should fix the submit problem.
I was probably fiddling with the Auto Detect menu for one page - I didn't think it would set a permanent pref, but rather, expected it only to effect the one page I was viewing.
Change platform and OS to ALL
OS: Linux → All
Hardware: PC → All
Added beta1.
Keywords: beta1
ok, this is a problem with the refresh when auto detect code is on. Mark it dup of 22203 *** This bug has been marked as a duplicate of 22203 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Whiteboard: [pdt-]
Verified dupe of 22203 "Refreshing page after set Auto-detect"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.