Closed
Bug 197209
Opened 22 years ago
Closed 21 years ago
<folderProps.xul>: Convert <window class="dialog"> to <dialog>
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Sebastian, Assigned: Sebastian)
References
Details
Attachments
(1 file, 4 obsolete files)
2.50 KB,
patch
|
Stefan.Borggraefe
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
OK, timeless pointed me to this:
the mailnews folder properties dialog is still using <windows... instead of
<dialog...
This leads to some bad side effects, e.g. the ok and cancel buttons are reversed
when you do the "sidebar on the right side" customization thing
(http://mozilla.org/unix/customizing.html)
Patch follows shortly...
This will be my very first mozilla patch (indeed my very first patch at all) so
bear with me
Assignee | ||
Comment 1•22 years ago
|
||
OK, I would be glad if somebody could have a look at the patch and tell me if I
forgot to take something out (unneccessary overlays, etc...).
I compiled on Linux and made sure that ok and cancel buttons work.
Assignee | ||
Updated•22 years ago
|
Attachment #117090 -
Flags: superreview?(sspitzer)
Attachment #117090 -
Flags: review?(neil)
Assignee | ||
Comment 2•22 years ago
|
||
The original file is at
http://lxr.mozilla.org/seamonkey/source/mailnews/base/resources/content/folderProps.xul
The <dialog> does not have an id="...". Would that be needed?
Thanks for reviewing
Assignee: sspitzer → Sebastian
OS: Linux → All
Hardware: PC → All
Comment 3•22 years ago
|
||
Comment on attachment 117090 [details] [diff] [review]
patch
<!DOCTYPE window SYSTEM "chrome://messenger/locale/folderProps.dtd">
this line needs a change as well
Assignee | ||
Comment 4•22 years ago
|
||
Changed the doctype as well. Thanks for the hint biesi.
Patch should be ready for review and checkin now...
Attachment #117090 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #117184 -
Flags: superreview?(sspitzer)
Attachment #117184 -
Flags: review?(neil)
Assignee | ||
Updated•22 years ago
|
Attachment #117090 -
Flags: superreview?(sspitzer)
Attachment #117090 -
Flags: review?(neil)
Comment 5•22 years ago
|
||
Comment on attachment 117184 [details] [diff] [review]
v.02
You should remove dialogOverlay and fix any dependency issues. You don't need
ondialogcancel for a start.
Attachment #117184 -
Flags: review?(neil) → review-
Assignee | ||
Comment 6•22 years ago
|
||
OK, removed dialogOverlay dependency and oncanceldialog. Can provide a new patch...
However, I noticed an uncaught exception which already ocurred in the old code.
What is wrong with this?
This line:
var imapFolder =
gMsgFolder.QueryInterface(Components.interfaces.nsIMsgImapMailFolder);
leads to:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002
(NS_NOINTERFACE)" location: "JS frame ::
chrome://messenger/content/folderProps.js :: hideShowControls :: line 229"
data: no]
I need halp on this one...
Assignee | ||
Updated•22 years ago
|
Attachment #117184 -
Attachment is obsolete: true
Attachment #117184 -
Flags: superreview?(sspitzer)
Assignee | ||
Comment 7•22 years ago
|
||
Assignee | ||
Comment 8•22 years ago
|
||
Comment on attachment 117311 [details] [diff] [review]
New patch, resolving Neils issues. The uncaught exception still needs to be resolved
I decided to spin the exception out to another bug, because that is really not
part of the xul cleanup I'm doing. See bug 197660 for this.
Neil, could I have a new review on the xul cleanup? Thanks
Attachment #117311 -
Flags: review?(neil)
Assignee | ||
Comment 9•22 years ago
|
||
Attachment #117311 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #117392 -
Flags: review?(neil)
Comment 10•22 years ago
|
||
Comment on attachment 117392 [details] [diff] [review]
Even more cleanup (removed unneccessary dialog keyset)
Looks OK but I won't get to test it just yet.
Updated•22 years ago
|
Attachment #117392 -
Flags: review?(neil) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #117392 -
Flags: superreview?(sspitzer)
Comment 11•22 years ago
|
||
Comment on attachment 117392 [details] [diff] [review]
Even more cleanup (removed unneccessary dialog keyset)
Bug 197660 bitrotted this patch slightly but I've retested it and it's fine.
Comment 12•22 years ago
|
||
Comment on attachment 117311 [details] [diff] [review]
New patch, resolving Neils issues. The uncaught exception still needs to be resolved
Cancelling review on obsolete patch.
Attachment #117311 -
Flags: review?(neil)
Comment 13•21 years ago
|
||
Comment on attachment 117392 [details] [diff] [review]
Even more cleanup (removed unneccessary dialog keyset)
Obsoleting patch since it bitrotted again.
Attachment #117392 -
Attachment is obsolete: true
Attachment #117392 -
Flags: superreview?(sspitzer)
Comment 14•21 years ago
|
||
Comment 15•21 years ago
|
||
Comment on attachment 131745 [details] [diff] [review]
Updated patch
Transferred Neil's r+ since only the line numbers have changed. I tested the
patch with a current trunk build.
Attachment #131745 -
Flags: superreview?(bienvenu)
Attachment #131745 -
Flags: review+
Updated•21 years ago
|
Attachment #131745 -
Flags: superreview?(bienvenu) → superreview+
Comment 16•21 years ago
|
||
Checking in mailnews/base/resources/content/folderProps.js;
/cvsroot/mozilla/mailnews/base/resources/content/folderProps.js,v <-- folderPr
ops.js
new revision: 1.19; previous revision: 1.18
done
Checking in mailnews/base/resources/content/folderProps.xul;
/cvsroot/mozilla/mailnews/base/resources/content/folderProps.xul,v <-- folderP
rops.xul
new revision: 1.14; previous revision: 1.13
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Summary: Folder properties should use <dialog> xul → folderProps.xul: Convert <window class="dialog"> to <dialog>
Updated•21 years ago
|
Summary: folderProps.xul: Convert <window class="dialog"> to <dialog> → <folderProps.xul>: Convert <window class="dialog"> to <dialog>
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•