convert top level <window> to <html> throughout the Thunderbird code base
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: mkmelin, Assigned: mkmelin)
References
(Blocks 1 open bug)
Details
(Keywords: leave-open)
Attachments
(87 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1703164 - convert mailnews/base/content/virtualFolderListEdit.xhtml to top level <html>. r=henry
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1703164 - convert calendar/base/content/dialogs/publishDialog.xhtml to top level <html>. r=henry
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Bug 1572062 converted the 3pane. For the most part styling has been adjusted already, and other preparations are now in place.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D113999
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b31114f27664
convert mail/base/content/messageWindow.xhtml to top level <html>. r=henry
https://hg.mozilla.org/comm-central/rev/8f8fada0529c
convert mail/components/compose/content/messengercompose.xhtml to top level <html>. r=henry
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D114596
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/50132988e778
Fix the Preference's font size after the HTML conversion. r=aleca
Assignee | ||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/341d1f02efc5
Convert mail/components/downloads/content/aboutDownloads.xhtml to top level <html>. r=mkmelin DONTBUILD
Comment 14•3 years ago
|
||
Is it planned to include feed-subscriptions.xhtml in this party?
Assignee | ||
Comment 15•3 years ago
|
||
My plan is to convert them all, but do it after 91 since there's not a huge rush and it can take time to weed out regressions, which have been subtle but annoying.
Assignee | ||
Comment 16•3 years ago
|
||
@alta88 do you have a phabricator account? Did the conversion, but can't have you review without it.
Comment 17•3 years ago
|
||
I don't, the 2FA stuff was disinviting given no usage anymore.
Assignee | ||
Comment 18•3 years ago
|
||
I noticed the layout of this dialog was rather messed up, so fixed it in the process.
Comment 19•3 years ago
|
||
It is still rather messed up, with some accumulated regressions along the way. Things that should be done here:
- Eliminate the platform specific css (one exception for osx only).
- The #selectFolder menu padding/margin has to be adjusted so the detail box doesn't jump when moving from folder to feed item in the tree.
- No need for #contentPane margin.
- Initial dialog (without persisted xulStore dimensions) is too small; tree is only 2 rows high.
- It would be better to use html elements (except tree and menu) and grid/flex model for the detail info box.
- themeableDialog doesn't seem to have the dark theme blue for checkbox/radio elements; it either should or maybe preferences.css can be included.
Comment 20•3 years ago
|
||
This change
https://hg.mozilla.org/comm-central/rev/d082e65a88d5#l1.103
breaks the ability to build with MOZ_UPDATER disabled. That will affect Linux distros. To fix this, we added
#ifdef MOZ_UPDATER
<script defer="defer" src="chrome://messenger/content/aboutDialog-appUpdater.js"></script>
+#else
+ <script defer="defer">
+ var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+ var { XPCOMUtils } = ChromeUtils.import(
+ "resource://gre/modules/XPCOMUtils.jsm"
+ );
+ </script>
#endif
Essentially you get XPCOMUtils undefined later on. You may choose to do it some other way.
Comment 21•3 years ago
|
||
Comment 22•3 years ago
|
||
Assignee | ||
Comment 23•3 years ago
|
||
Comment 24•3 years ago
|
||
Assignee | ||
Comment 25•3 years ago
|
||
Assignee | ||
Comment 26•3 years ago
|
||
Depends on D124626
Assignee | ||
Comment 27•3 years ago
|
||
Depends on D124627
Assignee | ||
Comment 28•3 years ago
|
||
Depends on D124628
Assignee | ||
Comment 29•3 years ago
|
||
Depends on D124629
Assignee | ||
Comment 30•3 years ago
|
||
Depends on D124630
Assignee | ||
Comment 31•3 years ago
|
||
This is the Local Folders page...
Depends on D124631
Assignee | ||
Comment 32•3 years ago
|
||
Copies and Folders pane.
Depends on D124632
Assignee | ||
Comment 33•3 years ago
|
||
Depends on D124633
Assignee | ||
Comment 34•3 years ago
|
||
Depends on D124634
Assignee | ||
Comment 35•3 years ago
|
||
Depends on D124635
Assignee | ||
Comment 36•3 years ago
|
||
Depends on D124636
Assignee | ||
Comment 37•3 years ago
|
||
Depends on D124637
Assignee | ||
Comment 38•3 years ago
|
||
Comment 39•3 years ago
|
||
Assignee | ||
Comment 40•3 years ago
|
||
Convert to top level html, and remove <stringbundle>
Comment 41•3 years ago
|
||
Assignee | ||
Comment 42•3 years ago
|
||
Assignee | ||
Comment 43•3 years ago
|
||
Assignee | ||
Comment 44•3 years ago
|
||
Assignee | ||
Comment 45•3 years ago
|
||
Assignee | ||
Comment 46•3 years ago
|
||
This is difficult to trigger. For testing you can just do
window.openDialog(
"chrome://messenger-smime/content/certFetchingStatus.xhtml",
"", "chrome,modal,resizable,centerscreen", null, null
);
Comment 47•3 years ago
|
||
Assignee | ||
Comment 48•3 years ago
|
||
Assignee | ||
Comment 49•3 years ago
|
||
Assignee | ||
Comment 50•3 years ago
|
||
Assignee | ||
Comment 51•3 years ago
|
||
Assignee | ||
Comment 52•3 years ago
|
||
Assignee | ||
Comment 53•3 years ago
|
||
Assignee | ||
Comment 54•3 years ago
|
||
For testing, ucomment the last line in onload(), and run
window.openDialog("chrome://messenger/content/shutdownWindow.xhtml",
"", "chrome,modal,resizable,centerscreen", null, null
);
Comment 55•3 years ago
|
||
Comment 56•3 years ago
|
||
Comment 57•3 years ago
|
||
Assignee | ||
Comment 58•3 years ago
|
||
Comment 59•3 years ago
|
||
Assignee | ||
Comment 60•3 years ago
|
||
Comment 61•3 years ago
|
||
Assignee | ||
Comment 62•3 years ago
|
||
Assignee | ||
Comment 63•3 years ago
|
||
I think the ealier work is tripping on <stringbundle> not being present (yet) in the dom.
There is still oddness of event handling with xul:dialog. The can't be where it should be (in head).
Comment 64•3 years ago
|
||
Comment 65•3 years ago
|
||
Assignee | ||
Comment 66•3 years ago
|
||
Assignee | ||
Comment 67•3 years ago
|
||
Virtual Folder Properties | Choose...
Assignee | ||
Comment 68•3 years ago
|
||
Comment 69•3 years ago
|
||
Comment 70•3 years ago
|
||
Comment 71•3 years ago
|
||
Assignee | ||
Comment 72•3 years ago
|
||
Assignee | ||
Comment 73•3 years ago
|
||
Assignee | ||
Comment 74•3 years ago
|
||
Assignee | ||
Comment 75•3 years ago
|
||
Assignee | ||
Comment 76•3 years ago
|
||
Assignee | ||
Comment 77•3 years ago
|
||
Also updating the example years...
Assignee | ||
Comment 78•3 years ago
|
||
Assignee | ||
Comment 79•3 years ago
|
||
Assignee | ||
Comment 80•3 years ago
|
||
Assignee | ||
Comment 81•3 years ago
|
||
Assignee | ||
Comment 82•3 years ago
|
||
Assignee | ||
Comment 83•3 years ago
|
||
Assignee | ||
Comment 84•3 years ago
|
||
Assignee | ||
Comment 85•3 years ago
|
||
Comment 86•3 years ago
|
||
Comment 87•3 years ago
|
||
Comment 88•3 years ago
|
||
Updated•3 years ago
|
Comment 89•3 years ago
|
||
Assignee | ||
Comment 90•3 years ago
|
||
Assignee | ||
Comment 91•3 years ago
|
||
Assignee | ||
Comment 92•3 years ago
|
||
Comment 93•3 years ago
|
||
Pulsebot comments for changesets below are not added in this bug. 😟
https://hg.mozilla.org/comm-central/rev/c385f94aa24cf49ab67d202327cc1212de2f7f67
https://hg.mozilla.org/comm-central/rev/565de8732cb20e5cb329c8dcf6701f435ec52da5
https://hg.mozilla.org/comm-central/rev/a4c122858ebe9bb672b411e093e6342a53a1243a
Comment 94•3 years ago
|
||
Comment 95•3 years ago
|
||
Comment 96•3 years ago
|
||
Assignee | ||
Comment 97•3 years ago
|
||
This is the dialog one gets by right clicking a contact "Add OTR Fingerprint" context menu.
Comment 98•3 years ago
|
||
Assignee | ||
Comment 99•3 years ago
|
||
Assignee | ||
Comment 100•3 years ago
|
||
This is the dialog one gets in chat for "Verify".
Assignee | ||
Comment 101•3 years ago
|
||
Assignee | ||
Comment 102•3 years ago
|
||
Assignee | ||
Comment 103•3 years ago
|
||
Assignee | ||
Comment 104•3 years ago
|
||
Assignee | ||
Comment 105•3 years ago
|
||
Assignee | ||
Comment 106•3 years ago
|
||
Assignee | ||
Comment 107•3 years ago
|
||
Assignee | ||
Comment 108•3 years ago
|
||
For testing use
var paramBlock = Cc["@mozilla.org/embedcomp/dialogparam;1"].createInstance(
Ci.nsIDialogParamBlock
);
paramBlock.SetNumberStrings(3);
paramBlock.SetString(0, "An error was encountered preparing the calendar located at http://example.com for use. It will not be available.");
paramBlock.SetString(1, "0x12334");
paramBlock.SetString(2, "blablabla");
Services.ww.openWindow(
null,
"chrome://calendar/content/calendar-error-prompt.xhtml",
"_blank",
"chrome,dialog=yes,alwaysRaised=yes",
paramBlock
);
Assignee | ||
Comment 109•3 years ago
|
||
For testing
window.openDialog(
"chrome://calendar/content/calendar-conflicts-dialog.xhtml",
"calendarConflictsDialog",
"chrome,titlebar,modal",
{
item: { isEvent() { return true}, getProperty() { return "ABC"; }, get calendar() { return { name: "test"} }, title: "Test title" } ,
mode: "modify",
overwrite: false,
}
);
Assignee | ||
Comment 110•3 years ago
|
||
For testing
window.openDialog(
"chrome://calendar/content/calendar-conflicts-dialog.xhtml",
"calendarConflictsDialog",
"chrome,titlebar,modal",
{
item: { isEvent() { return true}, getProperty() { return "ABC"; }, get calendar() { return { name: "test"} }, title: "Test title" } ,
mode: "modify",
overwrite: false,
}
);
Assignee | ||
Comment 111•3 years ago
|
||
Assignee | ||
Comment 112•3 years ago
|
||
Comment 113•3 years ago
|
||
Comment 114•3 years ago
|
||
Comment 115•3 years ago
|
||
Comment 116•3 years ago
|
||
Comment 117•3 years ago
|
||
Comment 118•3 years ago
|
||
Comment 119•3 years ago
|
||
Comment 120•3 years ago
|
||
Comment 121•3 years ago
|
||
Backed out the last patch for failures on Windows and possibly one on Mac as well.
https://hg.mozilla.org/comm-central/rev/d0c72993f2bb2a0d4dd2178cb4066340120e34a8
Comment 122•3 years ago
|
||
Comment 123•3 years ago
|
||
Comment 124•3 years ago
|
||
(In reply to Pulsebot from comment #96)
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/197babe349e1
convert mailnews/search/content/FilterEditor.xhtml to top level <html>.
r=henry
A little overzealous replacement here:
https://hg.mozilla.org/comm-central/rev/197babe349e1#l2.102
https://hg.mozilla.org/comm-central/rev/197babe349e1#l2.152
Updated•2 years ago
|
Comment 125•2 years ago
|
||
Bug 1752288 is open to address the following problem, but I just wanted to add some context here to explain how bug 1752288 is effecting the patches here (taken from https://phabricator.services.mozilla.com/D131063#4271047):
If the window "load" event is fired before a xul:dialog's connectedCallback
, then this line throws https://searchfox.org/mozilla-central/rev/9379d512333cb143ed6ee5df5a40274f40d6ce87/toolkit/content/widgets/dialog.js#324 because this._l10nButtons
is not initialized. This means that the sizeToContent
just below is never called, so the dialog can end up the wrong size.
This can happen because we use <script defer>
(https://phabricator.services.mozilla.com/D131063#4279233), but whether it actually happens in usage can come down to seemingly random factors.
So if you (sometimes) see a dialog that does not have the right size and you see in the console
Uncaught TypeError: this._l10nButtons is undefined
this is the origin.
Comment 126•2 years ago
|
||
(In reply to Henry Wilkes (they/them) [:henry] from comment #125)
Bug 1752288 is open to address the following problem, but I just wanted to add some context here to explain how bug 1752288 is effecting the patches here (taken from https://phabricator.services.mozilla.com/D131063#4271047):
This same problem seems to be popping up every now and then across bugzilla. Unless we know of a solution to bug 1752288, maybe we should just stop deferring the <script>
(as we do here https://searchfox.org/comm-central/rev/cd3088d72a9a397af39540a47a785e31581a8ccc/calendar/base/content/dialogs/calendar-conflicts-dialog.xhtml#30) for all the dialogs touched in this bug.
Assignee | ||
Comment 127•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 128•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f14bf2bcae63
convert mail/components/extensions/extensionPopup.xhtml to top level <html>. r=john.bieling
Assignee | ||
Comment 129•2 years ago
|
||
Bug 1752288 is not fully fixed, but for the cases affected just adding the fluent <link> is a nicer workaround.
Assignee | ||
Comment 130•2 years ago
|
||
Easiest way to trigger: set mail.import.in_new_tab to false, then Events and Tasks | Import
Assignee | ||
Comment 131•2 years ago
|
||
To trigger
mkdir -p .evolution/calendar/local
cp foo.ics .evolution/calendar/local
Starting with a new profile, the migration dialog will trigger.
Comment 132•2 years ago
|
||
Comment 133•2 years ago
|
||
Updated•2 years ago
|
Comment 134•2 years ago
|
||
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ea1e8c983f04
Fix browser_deletion test by adding fluent link workaround. r=freaktechnik
Updated•2 years ago
|
Comment 135•2 years ago
|
||
Comment 136•2 years ago
|
||
Goes with D165114 that already landed to avoid re-translation.
Comment 137•2 years ago
|
||
It looks like many of these migrations have a string migration for the .title
XUL attribute to an HTML <title> element.
To avoid unnecessary re-translation, we can use a migration like in comment 136 (for Fluent-to-Fluent cases). If other cases come up, let's start using migrations since we have the ability now. It will also help with reducing untranslated strings, and let translators work on actual new strings.
Comment 138•2 years ago
|
||
Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ff5b4d8b5e79
Fluent2Fluent migration for calendar-ics-file-window-title. r=mkmelin
Comment 139•2 years ago
|
||
Assignee | ||
Comment 140•2 years ago
|
||
Assignee | ||
Comment 141•2 years ago
|
||
Comment 142•2 years ago
|
||
Comment 143•2 years ago
|
||
Assignee | ||
Comment 144•2 years ago
|
||
Updated•2 years ago
|
Comment 145•2 years ago
|
||
Assignee | ||
Comment 146•2 years ago
|
||
Converts to top level html, and fixes the cutoff looks it had (from flexbox emulation removal?).
We don't do anything with encodings here anymore; title updated to reflect that.
Updated•2 years ago
|
Assignee | ||
Comment 147•2 years ago
|
||
Comment 148•2 years ago
|
||
Comment on attachment 9322283 [details]
Bug 1703164 - convert calendar/base/content/dialogs/calendar-event-dialog-attendees.xhtml to top level <html>. r=#thunderbird-front-end-reviewers
Revision D172202 was moved to bug 1821435. Setting attachment 9322283 [details] to obsolete.
Assignee | ||
Updated•2 years ago
|
Comment 149•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/75f43cc9a96c
convert mail/components/preferences/fonts.xhtml to top level <html>. r=aleca
Assignee | ||
Comment 150•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 151•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1d5741997e8c
convert mail/base/content/FilterListDialog.xhtml to top level <html>. r=aleca
Updated•2 years ago
|
Comment 152•2 years ago
|
||
Assignee | ||
Comment 153•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 154•2 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5530ea0fb224
convert mail/components/compose/content/dialogs/EdInsSrc.xhtml to top level <html>. r=elizabeth
Description
•