Closed Bug 1962845 Opened 10 months ago Closed 10 months ago

macOS text replacement feature doesn't work correctly in Thunderbird compose window (works fine in Firefox text entry)

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 137
All
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
140 Branch

People

(Reporter: francesco, Assigned: m_kato)

References

Details

Attachments

(1 file)

From bug 1943560 comment 3:

FF 137: Once you type the shortcut, a bubble with the replacement appears. If you keep typing, the replacement text is automatically accepted and text insertion continues after the replacement text. That's how other Mac applications behave.

TB 137: Once you type the shortcut, a bubble with the replacement appears. You need to accept it explicitly or it doesn't take effect. If you accept, the text is replaced and the cursor is placed at the start of the replacement text. You need to click again after the replacement text to continue typing.

@m_kato: Can that be corrected for Thunderbird?

(In reply to Francesco from comment #0)

@m_kato: Can that be corrected for Thunderbird?

"Mentions" are not a feature in bugzilla. You must use needinfo

Flags: needinfo?(m_kato)

Simply, autocorrect is off by default on chrome.

Flags: needinfo?(m_kato)

Can you please elaborate on your reply:

  1. The text entry area in the TB compose window is considered chrome?
  2. As described in comment 0, the replacement text is offered as a "bubble", so the the function is partly there. Is that the "off" state?
  3. Is there any pref to change the behaviour?

Is there any pref to change the behaviour?

Nothing.

Assignee: nobody → m_kato

Also, widget.macos.automatic.text_replacement can control whether turn on/off.

Thanks, yes, that switches off the bubbles.

When content is parent process, text change notification will received into
MaybeDispatchKeypressEvents synchronously. So we should block to dismiss
this panel at this situation.

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/fea03333e042 Don't dismiss text substitution panel on parent process content. r=masayuki
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

This works nicely now in Thunderbird Daily. Thanks for implementing/fixing it!

Status: RESOLVED → VERIFIED
See Also: → 1977042
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: