Closed Bug 104113 Opened 23 years ago Closed 23 years ago

Composer dialog cleanup: Upgrade for XUL 1.0 compliance

Categories

(SeaMonkey :: Composer, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: cmanske, Assigned: cmanske)

References

Details

Attachments

(1 file, 2 obsolete files)

New XUL 1.0 features keep appearing every day!
1. For all dialogs, use 
  <dialog
tag instead of 
  <window class="dialog"

2. Use new window attribures such as:
  buttons="accept,cancel" buttonpack="center"
instead of the global overlay inclusions such as:
  <hbox id="okCancelButtonsRight"/>
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
buttonpack="center"?
Well, we should use whatever 'buttonpack' value seems appropriate.
Depends on: 112999
Note that we can't convert the Table Properties dialog to use "<dialog>"
because
it uses an "Apply" button that isn't supported by the <dialog> XBL.
Theres a change to EdColorProps.js ("@@ -346,25 +344,11 @@" in the patch)
that was omitted from the checkin to bug 90229. That change was already reviewed.
Keywords: patch, review
Whiteboard: FIX IN HAND, need r=, sr=
I looked over the patch and it looks like onOK isn't renamed to onAccept in
EdDialogTemplate.js.  I didn't check everything so there may be similar problems
besides this.

I'd prefer these changes to happen in stages so they can easily be backed out if
there is a problem.  In particular, I am concerned about <dialog> changes on Mac.

If this all needs to go in at once, then I would like to see it tested on each
primary platform (Mac, Linux, Windows) so problems can be identified before the
checkin.
Change from "onOk" to "onAccept" made in EdDialogTemplate.js. That's just a 
template for new dialogs, which is why I missed it in testing. All dialogs that
are used were tested, of course.
I definitely do want to checkin all of this at once -- I've asked Sujay to 
identifiy any problems with existing dialog that were already converted (e.g,
Image and Link properties). The type of change is the same in all of them, so
testing already-converted dialogs should be sufficient.

Attachment #60200 - Attachment is obsolete: true
Comment on attachment 60523 [details] [diff] [review]
Update: Remove conflicts with todays update and removed "<popupset>" instances missed by another checkin

Looks okay to me, r=akkana.  I checked with Kathy and she verified that her
concerns have been met, though she didn't have time to review in detail.
Attachment #60523 - Flags: review+
Comment on attachment 60523 [details] [diff] [review]
Update: Remove conflicts with todays update and removed "<popupset>" instances missed by another checkin

sr=ben@netscape.com
Attachment #60523 - Flags: superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: patch, review
Resolution: --- → FIXED
Whiteboard: FIX IN HAND, need r=, sr=
 Charley can you verify this one? thanks.
verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: