Speller checks forwarded content, should ignore just like citations in replies
Categories
(Core :: Spelling checker, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: criderjg, Assigned: jorgk-bmo)
Details
Attachments
(2 files, 3 obsolete files)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta-
|
Details | Review |
3.04 KB,
patch
|
jorgk-bmo
:
review+
pascalc
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
requested by Jorg Knobloch to enter this as new bug; when forwarding emails, always spellchecks forwards; according to Jorg this should not happen, but it's been happening for quite a while through several versions; Might be helpful to add ability to enable/disable spellcheck on forwarding
Actual results:
Forwarding emails always stops at spellcheck; is unnecessary step
using Thunderbird for Mac 60.8.0, but has happened for a while through multiple versions; Mac Book Pro 2011, macOS 10.13.6
Expected results:
forwarding to go through without spellcheck window popping up
Comment 1•6 years ago
|
||
Possible duplicate of bug 370346, or bug 389351, or bug 399791?
Then there is bug 7994755, a not fixed bug that appears to be requesting that sort of behavior and depends on bug 569397.
I may have missed some in this list https://mzl.la/2CiGXtQ
Assignee | ||
Comment 2•6 years ago
|
||
I thought something like this might work, but no so :-(
Masayuki-san, do you know why blockquotes in e-mail replies aren't spellchecked? I can't find the code now but I think I saw it somewhere.
Assignee | ||
Comment 3•6 years ago
|
||
Masayuki-san, I found it:
https://searchfox.org/mozilla-central/rev/b38e3beb658b80e1ed03e0fdf64d225bd4a40327/extensions/spellcheck/src/mozInlineSpellChecker.cpp#1046
Looks like <blockquote type="cite"> and <pre type="moz-signature" aren't checked>.
Hmm, that latter is for plaintext signatures, but <div class="moz-signature"> are spell-checked. That's pretty wrong. I'll do a patch now.
Assignee | ||
Comment 4•6 years ago
|
||
OK, this is an M-C patch, but since the bug is in TB, I can attach it like this and ask for review. Or do you prefer Phab?
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Changed the commit message.
Comment 7•6 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #4)
Created attachment 9082437 [details] [diff] [review]
1570719-skip-mailnews-stuff-in-spellcheck.patchOK, this is an M-C patch, but since the bug is in TB, I can attach it like this and ask for review. Or do you prefer Phab?
Yes, you need to use Phab in my understanding. All patches should be landed via Lando.
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 10•6 years ago
|
||
Carrying over Masayuki's review from Phab. Please leave the reviewer "as is" in the patch.
Dear Sheriff,
please land this the "old-fashioned" way. As you know, patches uploaded via the Phab wrb UI can't be landed in Lando, see bug 1553124 comment #4 for details.
Assignee | ||
Updated•6 years ago
|
![]() |
||
Comment 11•6 years ago
|
||
That patch cannot be landed with Lando, it claims "Repository is not supported by Lando" but I am not sure if that is not from the patch format. Can you resubmit it with this in your .hgrc, please?
[diff]
git = 1
showfunc = 1
unified = 8
Assignee | ||
Comment 13•6 years ago
|
||
The issue with Lando is described in comment #10. I keep pasting the same text into each M-C bug I work on. The ultimate explanation is in bug 1529506 comment #4.
Comment 14•6 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/8a0763d975aa
Skip more elements in spellcheck for MailNews. r=masayuki
Comment 15•6 years ago
|
||
bugherder |
Assignee | ||
Comment 16•6 years ago
|
||
Comment on attachment 9082546 [details] [diff] [review]
1570719-skip-mailnews-stuff-in-spellcheck.patch - Same patch as in Phab
Beta/Release Uplift Approval Request
- User impact if declined: Mail signatures and forwarded parts are spellchecked. They should be ignored just as citation in replies.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Doesn't affect Firefox at all. Simple code addition for Thunderbird. I'll put it onto our branch on TB 68 ESR. Nice to have on beta, but not essential since it's been broken from day one.
- String changes made/needed: None.
Assignee | ||
Updated•6 years ago
|
Comment 17•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 18•6 years ago
|
||
Hmm, as I said, that code doesn't even run in Firefox, see:
https://hg.mozilla.org/mozilla-central/rev/8a0763d975aa#l1.4
Anyway, your call, I'll take if for TB 68 ESR onto our own branch.
Assignee | ||
Comment 19•6 years ago
|
||
https://hg.mozilla.org/releases/mozilla-esr68/rev/09b929d34cbee7b747485c5977663726d321cef0 on THUNDERBIRD_68_VERBRANCH
Assignee | ||
Comment 20•6 years ago
|
||
https://hg.mozilla.org/releases/mozilla-esr68/rev/66dd0d3bd890d15c14f34183929261fa47cc360a on THUNDERBIRD_68_VERBRANCH for >= 68.1
Description
•