IME isn't available until moving focus from auto focused editor which is new tab created by addon.
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | + | verified |
People
(Reporter: masayuki, Assigned: hsivonen)
References
(Regression)
Details
(Keywords: inputmethod, regression)
Attachments
(1 file)
[Tracking Requested - why for this release]: Serious regression for IME users.
STR:
0. Log in to twitter.
- Install this addon https://addons.mozilla.org/firefox/addon/share-with-sns/
- Enable twitter from its option and make sure its button in the toolbar.
- Click "Share page with Twitter" in the dropdown of the button.
- Then, the contenteditable must have focus in opened tab, try to use IME without focus move.
ER:
IME is available.
AR:
IME is not available.
According to the regression range, looks like a regression of bug 1524975.
Reporter | ||
Comment 1•5 years ago
|
||
Oops, it's not contenteditable
, just <textarea>
.
Reporter | ||
Comment 2•5 years ago
|
||
Looks like that focus is moved by autofocus
attribute of the <textarea>
element. I guess that there is race issue with closing the dropdown and focus move.
Reporter | ||
Comment 3•5 years ago
|
||
Oh, I found similar bug.
STR:
0. Make menubar visible on Windows.
- Set focus to a
<textarea>
in anywhere. - Click [Edit] -> [Copy]
- Open IME and type something.
ER:
IME starts composition in the <textarea>
.
AR:
IME starts composition in its floating window.
The result means that IMEStateManager
fails to restore input context with focused content in focused content process when menu/popup is closed with some conditions. I cannot reproduce this with the hamburger menu.
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
IME (Mozc) works for me when following the steps in comment 0 on Ubuntu, so looks like Windows-specific bug.
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #4)
IME (Mozc) works for me when following the steps in comment 0 on Ubuntu, so looks like Windows-specific bug.
I can't reproduce comment 0 on Windows 10 1803 using Microsoft IME for Japanese or using Microsoft ChangJie.
Can you still reproduce comment 0?
(I can reproduce comment 3 on Windows 10.)
Assignee | ||
Comment 6•5 years ago
|
||
Bug 1543363 seems possibly related.
Reporter | ||
Comment 7•5 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #5)
(In reply to Henri Sivonen (:hsivonen) from comment #4)
IME (Mozc) works for me when following the steps in comment 0 on Ubuntu, so looks like Windows-specific bug.
I can't reproduce comment 0 on Windows 10 1803 using Microsoft IME for Japanese or using Microsoft ChangJie.
Can you still reproduce comment 0?
Oh, I realized that my STR is not enough. If the popup is still open, I can use IME, but if I click the <textarea>
to close the popup, I cannot use IME.
(Sorry for the delay to reply.)
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Henri, any updates for this? It's being tracked for 68. Thanks!
Assignee | ||
Comment 11•5 years ago
|
||
(In reply to Patricia Lawless from comment #10)
Henri, any updates for this? It's being tracked for 68. Thanks!
The discussion moved to Phabricator. I'm not familiar enough with the requirements/constraints to continue without further advice.
Needinfoing Masayuki here just in case.
Reporter | ||
Comment 12•5 years ago
|
||
New regression and simply this makes IME users confused (including dead key users on Linux and macOS) if they use the addon or other addons which have similar UI. So, we need to fix this even in the Beta cycle.
I'm reading current IMEStateManager
again...
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adb37249163e Avoid synthetizing BrowserParent IME focus change when opening a menu. r=masayuki
Comment 15•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 16•5 years ago
•
|
||
Updated•2 years ago
|
Description
•