Closed
Bug 44323
Opened 25 years ago
Closed 24 years ago
Save As Charset dialog title is displayed with garbage
Categories
(Core :: Internationalization, defect, P3)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: oliver, Assigned: jbetak)
References
Details
(Keywords: intl, Whiteboard: r=nhotta/cmanske)
Attachments
(2 files)
15.95 KB,
image/jpeg
|
Details | |
2.56 KB,
patch
|
Details | Diff | Splinter Review |
Steps of reproduce
1. Open Composer
2. Select File|Sava As Charset and open dialog
title is "Save As Charset"
3. select UTF-8(or any charset)
4. *Not* enter in page title. (makes blank)
5. select OK
dialog title is changed, and displayed with garbage.
I tested with BuildID:20000062920 on WinNT4/SP5.
![]() |
||
Comment 1•25 years ago
|
||
![]() |
||
Updated•25 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
![]() |
||
Comment 3•25 years ago
|
||
This does not happen in 2000-06-30-08 Win32 build.
![]() |
||
Comment 4•25 years ago
|
||
I am sorry, I did not click OK button. I could reproduce it.
This is related to the bug 40739.
![]() |
||
Comment 5•25 years ago
|
||
assigning this over to jfrancis
Assignee: beppe → jfrancis
Target Milestone: --- → M18
![]() |
||
Comment 6•25 years ago
|
||
umm, this should be cmanske or ftang, it appears, given the checkin history to
EditorSaveAsCharset.js.
bumping over to Charlie for disposition...
Assignee: jfrancis → cmanske
![]() |
||
Comment 7•25 years ago
|
||
I don't see any problem here -- Frank just checked in fix for 40739 today,
so maybe this is a dup of that problem.
I'll let ftang confirm this.
Assignee: cmanske → ftang
![]() |
||
Comment 8•25 years ago
|
||
Please do not assign "Save As Charset" bug to editor group. It is my code and I
don't want to wast cmanske's time until I really need their help.
teruko, can you try to reproduce it again ?
Status: NEW → ASSIGNED
![]() |
||
Comment 9•25 years ago
|
||
Mark this as fix. I believe this is fixed while I fix 40739. Please reopen it if
it still happen.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
![]() |
||
Comment 10•25 years ago
|
||
I tested this in 2000-08-25-08 Win32 build. This still happen. Reopenning..
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
![]() |
||
Comment 12•25 years ago
|
||
reassign this bug to yokoyama. Mark it as Moz 0.9 P3.
![]() |
||
Comment 13•25 years ago
|
||
I did see this in 01-16 Mtrunk build.
![]() |
||
Updated•25 years ago
|
Status: NEW → ASSIGNED
![]() |
||
Updated•25 years ago
|
Target Milestone: mozilla0.9 → ---
![]() |
||
Comment 14•25 years ago
|
||
Reassign to jbetak.
ylong, please test with the latest build.
![]() |
||
Comment 15•25 years ago
|
||
I didn't see it on 03-27 Win32 trunk build(cause the other 2 platform builds not
avalible at this point) and 03-16/19 Linux and Mac trunk build.
![]() |
||
Comment 16•24 years ago
|
||
This still happens.
As per nhotta's assignment (2001-03-27 10:46), I am assign this to jbetak.
It looks though the assignment never took place.
Assignee: yokoyama → jbetak
Status: ASSIGNED → NEW
![]() |
Assignee | |
Comment 17•24 years ago
|
||
accepting, targeting 0.9.2
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.2
![]() |
Assignee | |
Comment 18•24 years ago
|
||
![]() |
Assignee | |
Comment 19•24 years ago
|
||
looks like editorShell.SetDocumentTitle was setting the title for both the
parent and the charset dialog window. I moved it into ComposerCommands.js and
while at it I also refactored some (seemingly random) bits of code ...
nhotta (yokoyama): would you care to review?
![]() |
||
Comment 20•24 years ago
|
||
The code in ComposerCommands.js is non specific to saveascharset, right?
Does you change affects others (e.g. save, saveas)?
![]() |
Assignee | |
Comment 21•24 years ago
|
||
Naoki,
this affects SaveAsCharset only. I copied the whole code section below for
easier verification:
var nsSaveAsCharsetCommand =
{
isCommandEnabled: function(aCommand, dummy)
{
return (window.editorShell && window.editorShell.documentEditable);
},
doCommand: function(aCommand)
{
FinishHTMLSource();
window.ok = false;
window.exportToText = false;
window.openDialog
("chrome://editor/content/EditorSaveAsCharset.xul","_blank", "chrome,close,title
bar,modal,resizable=yes");
if (window.newTitle != null) {
try {
editorShell.SetDocumentTitle(window.newTitle);
}
catch (ex) {}
}
if (window.ok)
{
if (window.exportToText)
{
window.ok = window.editorShell.saveDocument(true, true, "text/plain");
}
else
{
window.ok = window.editorShell.saveDocument(true, false,
editorShell.contentsMIMEType);
}
}
window._content.focus();
return window.ok;
}
};
![]() |
||
Comment 22•24 years ago
|
||
r=nhotta
![]() |
||
Comment 23•24 years ago
|
||
Since this is not moz0.9.2 critical, move it to moz0.9.3.
cmanske- this is under your code. please review it. thanks.
Whiteboard: r=nhotta
Target Milestone: mozilla0.9.2 → mozilla0.9.3
![]() |
||
Comment 24•24 years ago
|
||
add cmanske to the cc list.
Whiteboard: r=nhotta → r=nhotta need cmanske to review
![]() |
||
Comment 25•24 years ago
|
||
r=cmanske
Looks good!
![]() |
Assignee | |
Comment 26•24 years ago
|
||
cmanske: thanks for taking time to review this!
adding alecf for sr= and blizzard for a=
![]() |
||
Updated•24 years ago
|
Whiteboard: r=nhotta need cmanske to review → r=nhotta/cmanske
![]() |
||
Comment 27•24 years ago
|
||
sr=alecf
Comment 28•24 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
![]() |
||
Comment 29•24 years ago
|
||
checked in
![]() |
||
Comment 30•24 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Comment 31•24 years ago
|
||
Naoki, thanks for helping to obtain the sr=, a= and for landing this!
You need to log in
before you can comment on or make changes to this bug.
Description
•