Port bug 1717680: Remove document.popupNode and document.tooltipNode
Categories
(Thunderbird :: Upstream Synchronization, task)
Tracking
(thunderbird_esr78 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(3 files, 2 obsolete files)
28.17 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
1.36 KB,
patch
|
Details | Diff | Splinter Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
This works almost, I think. Except the goCopyImage() function in utilityOverlay.js which gives a undefined back.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
This patch should be ready except for the MsgComposeCommands.js. An earlier try https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=6b48f24b956fb3dcf3dd125d0ab86dba2b4f1e77 which had eslint errors that are fixed, except again the MsgComposeCommands.js. I removed the change because it didn't fix the issue.
Geoff, could you help me and fix this part? I don't know how to fix this.
Assignee | ||
Comment 4•3 years ago
|
||
Added something to MsgComposeCommands.js but I still get this error: JavaScript error: resource://gre/modules/InlineSpellChecker.jsm, line 472: TypeError: can't access property "ownerGlobal", element is null
. I don't know how to fix this.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Comment on attachment 9230626 [details] [diff] [review] 1719985-remove-popupnode-tooltipnode.patch Review of attachment 9230626 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me, I'll land in a sec! r=mkmelin
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/47085882a29d Port bug 1717680: Remove document.popupNode and document.tooltipNode. r=mkmelin
Assignee | ||
Comment 7•3 years ago
|
||
Geoff, please can you still look at the issue with MsgComposeCommands.js?
Comment 8•3 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #4)
Created attachment 9230626 [details] [diff] [review]
1719985-remove-popupnode-tooltipnode.patchAdded something to MsgComposeCommands.js but I still get this error:
JavaScript error: resource://gre/modules/InlineSpellChecker.jsm, line 472: TypeError: can't access property "ownerGlobal", element is null
. I don't know how to fix this.
Does document.popupRangeParent get you the right node? This is how firefox currently gets the word that was context-clicked for spellchecking.
Assignee | ||
Comment 9•3 years ago
|
||
(In reply to Neil Deakin from comment #8)
Does document.popupRangeParent get you the right node? This is how firefox currently gets the word that was context-clicked for spellchecking.
This works, but I still get the error.
Assignee | ||
Comment 10•3 years ago
|
||
Neil's proposal to use document.popupRangeParent.
Comment 11•3 years ago
|
||
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/32bb960b0759 follow-up - Use triggerNode of tabContextMenu even for submenus. rs=bustage-fix
Comment 12•3 years ago
|
||
Comment on attachment 9230637 [details] [diff] [review]
1719985-change-MsgComposeCommands.patch
You're right, it doesn't work either. I've found a way.
Comment 13•3 years ago
|
||
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/735244108b31 Fix context menu in compose window editor. rs=me
Updated•3 years ago
|
Comment 14•3 years ago
|
||
This time also working on Mac, which for some unknown reason has popup.screenX/Y equal to editor.screenX/Y.
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Patch doesn't apply at all (possibly due to something else lined up.)
Comment 16•3 years ago
|
||
Oh, ignore me...
Comment 17•3 years ago
|
||
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/cbe00a747440 Fix context menu in compose window editor, take 2. r=mkmelin
Updated•1 month ago
|
Description
•