Closed Bug 40739 Opened 24 years ago Closed 24 years ago

Save As Charset: OK button is not functioning with a non-blank page title.

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ji, Assigned: ftang)

References

Details

(Whiteboard: [nsbeta2+])

On the Save AS Charset window, with something entered in the page title field,
clicking on OK button doesn't go to the next window.

Steps of reproduce:
1. Launch composer
2. After typing something in the composer, select File | Save As Charset...
3. Enter something in the page title field, select one charset, click on OK.

Nothing happened.
Status: NEW → ASSIGNED
need reassign
This works for me in my debug build updated on 5/25, so it's a very new problem.
UI (XUL+JavaScript) related i18n issue. reassign to jbetak
Assignee: ftang → jbetak
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
I could probably fix this quickly, but of course I'm very busy too, so just
ask if it's not clear what the problem is.
Got JavaScript error here at console:
line 0: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIEditorShell.SetDocumentCharacterSet]" 
nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://editor/content/EditorSaveAsCharset.js :: onOK :: line 94"  data: no]

"Nothing happened" here means NO dialog box show up at all (not even
the file picker) after hitting OK.
The exception means it fails in the C++ code for SetDocumentCharacterSet.
Set a break point in there and trace through the problem.
which platform have this problem , all or just window ?
It's a cross platform problem. Changed the platform to ALL.
OS: Windows NT → All
reassigning to ftang for resource reallocation
Assignee: jbetak → ftang
Status: ASSIGNED → NEW
mark as assign
Status: NEW → ASSIGNED
Nominating this for beta2.
Keywords: nsbeta2
Because of this bug, we cannot test that Save as charset is working or not. 
Putting on [nsbeta2+] radar for beta2 fix. 
Whiteboard: [nsbeta2+]
*** Bug 45048 has been marked as a duplicate of this bug. ***
fix and check in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I verified this in 2000-07-12-08 Win32 and Mac and 2000-07-12-11 Linux build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.