Open
Bug 252698
Opened 20 years ago
Updated 2 years ago
Use buttonlabel attributes in <dialog>s
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
NEW
People
(Reporter: neil, Unassigned)
Details
(Keywords: polish)
Attachments
(5 files, 6 obsolete files)
(deleted),
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
glazou
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Stefan.Borggraefe
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
iannbugzilla
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
Subsequent to the checkin for bug 78274 we can now specify dialog labels using
attributes rather than having to set them in load handlers. I have generally
listed listed the .js file with the script, but obviously there will be
modifications to .xul .dtd and .properties files to consider. The patches should
be split into modules so that each owner can review or approve them separately.
editor/ui/dialogs/content/EdInsSrc
editor/ui/dialogs/content/EdInsertChars
editor/ui/dialogs/content/EdLinkChecker
editor/ui/dialogs/content/EdTableProps
editor/ui/dialogs/content/EditorPublish
editor/ui/dialogs/content/EditorPublishProgress
extensions/cookie/resources/content/p3pDialog
extensions/sroaming/resources/content/transfer/progressDialog
extensions/wallet/cookieviewer/resources/content/CookieViewer
extensions/wallet/signonviewer/resources/content/SignonViewer
security/manager/pki/resources/content/crlImportDialog
xpinstall/res/content/institems
xpfe/communicator/resources/content/openLocation
xpfe/components/bookmarks/resources/findBookmark
xpfe/components/find/resources/finddialog
xpfe/components/history/resources/findHistory
xpfe/global/resources/content/printdialog
mailnews/compose/resources/content/askSendFormat
mailnews/news/resources/content/downloadheaders
Comment 1•20 years ago
|
||
Taking. Not sure when, but I can do this.
Assignee: nobody → Stefan.Borggraefe
Comment 2•20 years ago
|
||
This patch also adds the missing id to the printDialog and removes the access
key from the Find-Button of findDialog, because according to
http://www.mozilla.org/access/keyboard/accesskey "OK buttons" shouldn't have an
accesskey.
Updated•20 years ago
|
Attachment #167162 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167162 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Updated•20 years ago
|
Attachment #167162 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167162 -
Flags: superreview+
Attachment #167162 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #167162 -
Flags: review+
Updated•20 years ago
|
Attachment #167162 -
Attachment description: Patch for xpfe/ → Patch for xpfe/ (checked in)
Comment 3•20 years ago
|
||
There is nothing to do in editor/ui/dialogs/content/EditorPublishProgress,
because all what happens in the JS file of the dialog is that the "Cancel"
button is changed to "Close" after the publishing was finished. This can't be
handled with buttonlabelcancel.
I left the accesskey for the "Insert" button of
editor/ui/dialogs/content/EdInsSrc intact, because this dialog accept button is
not the default button in this case.
Updated•20 years ago
|
Attachment #167221 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167221 -
Flags: review?(daniel)
Reporter | ||
Comment 4•20 years ago
|
||
Comment on attachment 167221 [details] [diff] [review]
Patch for editor/
(In reply to comment #3)
>This can't be handled with buttonlabelcancel.
Actually it can, see profileSelection.js for the example.
Attachment #167221 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 5•20 years ago
|
||
Thanks for the hint, Neil. :-) Here is a new patch that also changes the
EditorPublishProgress dialog.
Attachment #167221 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #167221 -
Flags: review?(daniel)
Comment 6•20 years ago
|
||
Comment on attachment 167288 [details] [diff] [review]
Patch V1.1 for editor/
The other files are unchanged compared to the last patch. There is one
exception: The string "Close" is now also removed from editor.properties,
because there is no user of it left now.
Attachment #167288 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167288 -
Flags: review?(daniel)
Reporter | ||
Comment 7•20 years ago
|
||
Comment on attachment 167288 [details] [diff] [review]
Patch V1.1 for editor/
What about EdTableProps.js?
Comment 8•20 years ago
|
||
Adds the change in the EdTableProps dialog I overlooked in Patch V1.1. Thanks
again, Neil!
Attachment #167288 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #167288 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167288 -
Flags: review?(daniel)
Updated•20 years ago
|
Attachment #167311 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167311 -
Flags: review?(daniel)
Reporter | ||
Updated•20 years ago
|
Attachment #167311 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 9•20 years ago
|
||
Comment on attachment 167311 [details] [diff] [review]
Patch V1.2 for editor/ (checked in)
YUM YUM!!!! Thanks Stefan, check it in ASAP!
Attachment #167311 -
Flags: review?(daniel) → review+
Updated•20 years ago
|
Attachment #167311 -
Attachment description: Patch V1.2 for editor/ → Patch V1.2 for editor/ (checked in)
Comment 10•20 years ago
|
||
Why was this landed on the Aviary branch without approval? Was this OK'd by the
Tbird devs or the aviary team in general?
Comment 11•20 years ago
|
||
Oops, sorry, bad bonsai query. ignore my comment.
Comment 12•20 years ago
|
||
The MsgAttachPage dialog can also be converted to the new attributes. While
changing the askSendFormat dialog I also removed the last traces of the
Receipients... and Help buttons because of the decision made in bug 38738.
Updated•20 years ago
|
Attachment #167373 -
Flags: superreview?(mscott)
Attachment #167373 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 13•20 years ago
|
||
Comment on attachment 167373 [details] [diff] [review]
Patch for mailnews/
r=me except for the removal of help-related code; we do nominally have help for
this dialog, search help for Question.
Attachment #167373 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 14•20 years ago
|
||
Updated according to Neil's review comments (restored the help stuff, I also
filed bug 277679 for adding a Help button to this dialog).
Attachment #167373 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #167373 -
Flags: superreview?(mscott)
Comment 15•20 years ago
|
||
Comment on attachment 167592 [details] [diff] [review]
Patch V1.1 for mailnews/
Transferring Neil's r+ and asking Scott for sr again.
Attachment #167592 -
Flags: superreview?(mscott)
Attachment #167592 -
Flags: review+
Reporter | ||
Comment 16•20 years ago
|
||
I noticed some dialogs which rather than setting the button labels in load
handlers actually duplicate the button layout using an extra hbox:
/extensions/wallet/walletpreview/resources/content/WalletPreview.xul
/xpfe/communicator/resources/content/aboutPopups.xul
/xpfe/components/sidebar/resources/customize.xul
/xpfe/global/resources/content/fontpackage.xul
Oh, and I hope you haven't forgotton about
/extensions/cookie/resources/content/p3pDialog.xul
Reporter | ||
Comment 17•20 years ago
|
||
Note that this change will break some of the dialogs mentioned in my previous
comment but they all needed fixing anyway.
Attachment #169930 -
Flags: superreview?(jag)
Attachment #169930 -
Flags: review?(timeless)
Comment 18•20 years ago
|
||
As per comment 16 and a few extra tidy ups
Attachment #170040 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 19•20 years ago
|
||
Comment on attachment 170040 [details] [diff] [review]
Fixes for naughty dialogs v0.1
>+ buttons="extra2,accept,cancel,help"
Please use the same order that the p3pDialog uses.
>+ ondialogextra2="formShow();"
An accesskey for this button would be nice.
> <separator/>
You've got a couple of these that can go too.
>+ var sizeString = fontPackageBundle.getString("size_" + gLangCode);
>+ document.getElementById("sizeSpecification").value = sizeString;
> }
>
> // argument is a lang code of the form xx or xx-yy
> gLangCode = window.arguments[0];
Unfortunately you already tried to use it earlier :-(
If you have win2k/xp you can fake the 9x language dialog by overriding the user
agent.
Attachment #170040 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Comment 20•20 years ago
|
||
Addressing reviewer's comments.
Attachment #170040 -
Attachment is obsolete: true
Attachment #170057 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 21•20 years ago
|
||
Comment on attachment 170057 [details] [diff] [review]
Fixes for naughty dialogs and tidy up v0.1a
Nit: put extra2 at the end in customize.xul too please.
Attachment #170057 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 22•20 years ago
|
||
Fixed nit, carried forward r+ and requesting sr
Attachment #170057 -
Attachment is obsolete: true
Attachment #170155 -
Flags: superreview?(jag)
Attachment #170155 -
Flags: review+
Attachment #170155 -
Flags: superreview?(jag) → superreview?(alecf)
Attachment #170155 -
Flags: superreview?(alecf) → superreview?(jag)
Attachment #170155 -
Flags: superreview?(jag) → superreview?(dveditz)
Comment 23•20 years ago
|
||
Comment on attachment 170155 [details] [diff] [review]
Tidy up and fixes for dialogs in xpfe/extensions v0.1b (Checked in)
sr=dveditz
Attachment #170155 -
Flags: superreview?(dveditz) → superreview+
Comment 24•20 years ago
|
||
Comment on attachment 170155 [details] [diff] [review]
Tidy up and fixes for dialogs in xpfe/extensions v0.1b (Checked in)
Checking in
extensions/wallet/walletpreview/resources/content/WalletPreview.xul;
/cvsroot/mozilla/extensions/wallet/walletpreview/resources/content/WalletPrevie
w.xul,v <-- WalletPreview.xul
new revision: 1.8; previous revision: 1.7
done
Checking in
extensions/wallet/walletpreview/resources/locale/en-US/WalletPreview.dtd;
/cvsroot/mozilla/extensions/wallet/walletpreview/resources/locale/en-US/WalletP
review.dtd,v <-- WalletPreview.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in xpfe/communicator/resources/content/aboutPopups.xul;
/cvsroot/mozilla/xpfe/communicator/resources/content/aboutPopups.xul,v <--
aboutPopups.xul
new revision: 1.5; previous revision: 1.4
done
Checking in xpfe/components/sidebar/resources/customize.xul;
/cvsroot/mozilla/xpfe/components/sidebar/resources/customize.xul,v <--
customize.xul
new revision: 1.55; previous revision: 1.54
done
Checking in xpfe/global/resources/content/fontpackage.xul;
/cvsroot/mozilla/xpfe/global/resources/content/fontpackage.xul,v <--
fontpackage.xul
new revision: 1.3; previous revision: 1.2
done
Checking in xpfe/global/resources/content/fontpackage.js;
/cvsroot/mozilla/xpfe/global/resources/content/fontpackage.js,v <--
fontpackage.js
new revision: 1.4; previous revision: 1.3
done
Checking in extensions/cookie/resources/content/p3pDialog.xul;
/cvsroot/mozilla/extensions/cookie/resources/content/p3pDialog.xul,v <--
p3pDialog.xul
new revision: 1.7; previous revision: 1.6
done
Attachment #170155 -
Attachment description: Tidy up and fixes for dialogs in xpfe/extensions v0.1b → Tidy up and fixes for dialogs in xpfe/extensions v0.1b (Checked in)
Comment 25•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050220
Firefox/1.0+
Starting with todays build any upload button on e.g Gmail is flattened.
This is also visable when you try to upload a file to bugzilla
Did this checkin cause this regression ?
Comment 26•20 years ago
|
||
Comment on attachment 175037 [details]
screenshot
My mistake, found a build pre this checkin and the problem is still there.
Sorry for the spam
Attachment #175037 -
Attachment is obsolete: true
Comment 27•19 years ago
|
||
Comment on attachment 167592 [details] [diff] [review]
Patch V1.1 for mailnews/
Stefan, is this old patch still valid and in need of a n sr? reset if so and I'll look again.
Attachment #167592 -
Flags: superreview?(mscott)
Comment 28•19 years ago
|
||
Comment on attachment 169930 [details] [diff] [review]
Thoughts anyone?
fine w/ me
Attachment #169930 -
Flags: review?(timeless) → review+
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
Comment 29•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: Stefan.Borggraefe → nobody
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•