Closed
Bug 1503286
Opened 6 years ago
Closed 6 years ago
During a spell check before sending, double-clicking a suggested correctly spelled word no longer works
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr60 unaffected, thunderbird64 fixed, thunderbird65 fixed)
RESOLVED
FIXED
Thunderbird 65.0
Tracking | Status | |
---|---|---|
thunderbird_esr60 | --- | unaffected |
thunderbird64 | --- | fixed |
thunderbird65 | --- | fixed |
People
(Reporter: thee.chicago.wolf, Assigned: alice0775)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.29 KB,
patch
|
jorgk-bmo
:
review+
aceman
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53
Steps to reproduce:
I have "Check Spelling Before Sending" enabled. Before sending an email, I will be prompted to correct any misspelled words. In 60.2.1 and before, I used to be able to double-click on a suggested correct spelling of a word in Spell Checker and it would accept and apply that word as the correct spelling of the misspelled word.
Actual results:
Double-clicking a suggested correct spelling of the word no longer works.
Expected results:
Double-clicking a suggested correct spelling of the word should work. The functionality still works in the 2nd build of TB 60.3.0.
Comment 1•6 years ago
|
||
I'm glad it still works in TB 60.3 ;-)
Confirmed in Daily 65. You don't need the "Check Spelling Before Sending", you can just hit the "Spelling" button. So STR:
Start a new message.
Type a few words with spelling mistakes.
Click on spelling.
Double-click a suggested correction.
Nothing happens but the suggested word should be accepted.
Alice, can you please find the regression for us.
Status: UNCONFIRMED → NEW
Component: Untriaged → Message Compose Window
Ever confirmed: true
Keywords: regression
Updated•6 years ago
|
Flags: needinfo?(alice0775)
Comment 2•6 years ago
|
||
Maybe from listitem removal, bug 1435688.
![]() |
Assignee | |
Comment 3•6 years ago
|
||
Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?fromchange=9edb2b29454bf76de263491e8635d65d955b7fdf&tochange=4e763866d18285694952a98b7849ed94cffb48c6
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f6df6a982ee9510ca32dd3afa52dfe9f8c3586a3&tochange=547144f5596c1a146b208d68d93950a6313080ca
Flags: needinfo?(alice0775)
Comment 4•6 years ago
|
||
Richard, can you look into this one.
Comment 5•6 years ago
|
||
When I double click the word I get this error: ReferenceError: reference to undefined property "label"[Learn More] EdSpellCheck.xul:1:23
I think this comes from here: https://searchfox.org/comm-central/source/editor/ui/dialogs/content/EdSpellCheck.js#152
Probably this needs some changes because the richlists work different to the listitems. But this is nothing I can do with my knowledge. Maybe Aceman or Geoff can help here.
Flags: needinfo?(geoff)
Flags: needinfo?(acelists)
![]() |
Assignee | |
Comment 6•6 years ago
|
||
FWIW, If I change as follows, then it works.
https://searchfox.org/comm-central/source/editor/ui/dialogs/content/EdSpellCheck.xul#63
- ondblclick="if (gAllowSelectWord) Replace(event.target.label);"/>
+ ondblclick="if (gAllowSelectWord) Replace(this.selectedItem.label);"/>
Comment 7•6 years ago
|
||
Let's go with Alice' suggestion. I'll make a patch.
Flags: needinfo?(geoff)
Flags: needinfo?(acelists)
Comment 8•6 years ago
|
||
Thanks Alice, putting this in your name.
Attachment #9021664 -
Flags: review+
Attachment #9021664 -
Flags: approval-comm-beta+
Updated•6 years ago
|
Assignee: nobody → alice0775
Status: NEW → ASSIGNED
Comment 9•6 years ago
|
||
Aceman told me over IRC that I should investigate this better. OK, event.target is the label now and that has a value. Let's go with that.
Attachment #9021664 -
Attachment is obsolete: true
Attachment #9021668 -
Flags: review+
![]() |
||
Comment 10•6 years ago
|
||
Comment on attachment 9021668 [details] [diff] [review]
1503286-double-click.patch (v2)
Review of attachment 9021668 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks, works for me.
Attachment #9021668 -
Flags: review+
Updated•6 years ago
|
Attachment #9021668 -
Flags: approval-comm-beta+
Comment 11•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/22fb120a634f
fix double-click in list of suggested words after bug 1475817. r=jorgk,aceman
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 65.0
Comment 12•6 years ago
|
||
Beta (TB 64 beta 2):
https://hg.mozilla.org/releases/comm-beta/rev/593d228719d752e37377d322cced522032d3582b
status-thunderbird64:
--- → fixed
status-thunderbird65:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•