Closed
Bug 1419285
Opened 7 years ago
Closed 7 years ago
IME candidate window position is always top-left when using Hatena Bookmark Web Extension
Categories
(Core :: IPC, defect)
Tracking
()
VERIFIED
FIXED
mozilla59
People
(Reporter: m_kato, Assigned: m_kato)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod)
Attachments
(2 files)
59 bytes,
text/x-review-board-request
|
masayuki
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
59 bytes,
text/x-review-board-request
|
masayuki
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
I don't know whether this is regression. When using Hatena bookmark extension, IME candidate window isn't shown on correct position. I tested on Windows 10 Fall creator update with Google Japanese Input, ATOK 2017 , Microsoft IME (Japanese and Korean).
Assignee | ||
Comment 1•7 years ago
|
||
- step 1. Install Hatena Bookmark addon 2. Click Bookmark button 3. Input any comment on textbox - result IME candidate window position is always top-left
Assignee | ||
Comment 2•7 years ago
|
||
Maybe, IME won't work on all web extension since web extension works on own process.
Assignee | ||
Comment 3•7 years ago
|
||
[Tracking Requested - why for this release]: IME doesn't work on panel in multiple Web Extensions. Original reporter (not me!) says IME doesn't work on the following addons at least. - https://addons.mozilla.org/ja/firefox/addon/todo/ - https://addons.mozilla.org/ja/firefox/addon/hatena-bookmark/
status-firefox58:
--- → affected
tracking-firefox58:
--- → ?
Assignee | ||
Updated•7 years ago
|
status-firefox57:
--- → affected
Assignee | ||
Comment 4•7 years ago
|
||
Workaround is extensions.webextensions.remote=false
Comment 5•7 years ago
|
||
My addon "Second Search" also has same problem. https://addons.mozilla.org/firefox/addon/second-search/
Assignee | ||
Comment 6•7 years ago
|
||
(In reply to YUKI "Piro" Hiroshi from comment #5) > My addon "Second Search" also has same problem. > https://addons.mozilla.org/firefox/addon/second-search/ Yes, I believe that IME doesn't work on all web extension's panel.
Assignee | ||
Comment 7•7 years ago
|
||
Since Web extension's popup is remote, TabParent will use popup's widget for NotifyIMEFocus (by web extension oop support). It isn't toplevel widget, so threadMgr->AssociateFocus doesn't enable edit session correctly. Humm...
Assignee | ||
Updated•7 years ago
|
Blocks: webext-oop
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → m_kato
Comment 8•7 years ago
|
||
Track 58+/59+ as IME doesn't work on panel in multiple Web Extensions.
tracking-firefox59:
--- → +
Assignee | ||
Comment 9•7 years ago
|
||
changing to valid component. This also occurs on macOS with Web Extension OOP. TabParent's GetWidget doesn't return toplevel widget. We should uss GetDocWidget() for IME.
Component: Widget: Win32 → IPC
Comment 10•7 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #9) > changing to valid component. > > This also occurs on macOS with Web Extension OOP. TabParent's GetWidget > doesn't return toplevel widget. We should uss GetDocWidget() for IME. Or, there should be GetWidgetForIME() and make it call nsPresContext::GetRootWidget(). IMEStateManager always use it for handling IME like: https://searchfox.org/mozilla-central/rev/a5d613086ab4d0578510aabe8653e58dc8d7e3e2/dom/events/IMEStateManager.cpp#1789,1801
Assignee | ||
Comment 11•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c31cb52944ed16d42d80121ebe80426c8d43ee5a
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 15•7 years ago
|
||
mozreview-review |
Comment on attachment 8933216 [details] Bug 1419285 - Part 1. Calculate composition rect for remote XUL frame. https://reviewboard.mozilla.org/r/204160/#review209660
Attachment #8933216 -
Flags: review?(masayuki) → review+
Comment 16•7 years ago
|
||
mozreview-review |
Comment on attachment 8933217 [details] Bug 1419285 - Part 2. IME message should post to correct widget. https://reviewboard.mozilla.org/r/204162/#review209662
Attachment #8933217 -
Flags: review?(masayuki) → review+
Comment 17•7 years ago
|
||
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/19831481168f Part 1. Calculate composition rect for remote XUL frame. r=masayuki https://hg.mozilla.org/integration/autoland/rev/ab629f447e6c Part 2. IME message should post to correct widget. r=masayuki
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/19831481168f https://hg.mozilla.org/mozilla-central/rev/ab629f447e6c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Comment 19•7 years ago
|
||
When I use the latest Nightly 59.0a1 (Build ID:20171201220040), IME works well on a web extension's pop-up panel. I've tested it with ATOK 2017 and Microsoft IME (Japanese).
Comment 20•7 years ago
|
||
Please request Beta approval on this when you get a chance.
Flags: needinfo?(m_kato)
Assignee | ||
Comment 21•7 years ago
|
||
Comment on attachment 8933216 [details] Bug 1419285 - Part 1. Calculate composition rect for remote XUL frame. Approval Request Comment [Feature/Bug causing the regression]: bug 1357486 [User impact if declined]: IME doesn't work on Web Extension's popup panel. [Is this code covered by automated tests?]: No [Has the fix been verified in Nightly?]: Yes [Needs manual test from QE? If yes, steps to reproduce]: Yes if possible Step 1. Install Microsoft IME on Windows 2. Install https://addons.mozilla.org/firefox/addon/second-search/ 3. Click Second Search Icon by 2.'s extension. 4. Input any Japanese word in [Search with Keyword] editbox Result Composing string is inline, not top-left screen [List of other uplifts needed for the feature/fix]: N/A [Is the change risky?]: Low [Why is the change risky/not risky?]: Child widget that is remote process will be created by Web extensions only. So it is affected by remote web extension only. [String changes made/needed]: N/A
Flags: needinfo?(m_kato)
Attachment #8933216 -
Flags: approval-mozilla-beta?
Assignee | ||
Updated•7 years ago
|
Attachment #8933217 -
Flags: approval-mozilla-beta?
Comment 22•7 years ago
|
||
Comment on attachment 8933216 [details] Bug 1419285 - Part 1. Calculate composition rect for remote XUL frame. Fix an issue that IME doesn't work on Web Extension's popup panel and was verified. Beta58+.
Attachment #8933216 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•7 years ago
|
Attachment #8933217 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 23•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/51aeac094956 https://hg.mozilla.org/releases/mozilla-beta/rev/17253790a570
Updated•7 years ago
|
Flags: qe-verify+
Comment 24•7 years ago
|
||
I tried to reproduce the bug both on Mac OS 10.11 and Windows 10 x64, using Microsoft IME and the steps from comment 21, but I couldn't. Maybe there are some steps that I'm missing. Makoto Kato, can you please check if this bug is reproducing for you on latest Nightly and beta 58.0b10? Thank you very much.
Flags: needinfo?(m_kato)
Assignee | ||
Comment 25•7 years ago
|
||
Due to all hands, I don't have Windows PC now. So I will verify this at next week.
Assignee | ||
Comment 26•6 years ago
|
||
(In reply to Oana Botisan from comment #24) > I tried to reproduce the bug both on Mac OS 10.11 and Windows 10 x64, using > Microsoft IME and the steps from comment 21, but I couldn't. > Maybe there are some steps that I'm missing. > Makoto Kato, can you please check if this bug is reproducing for you on > latest Nightly and beta 58.0b10? > Thank you very much. I verified using 58.0b12
Flags: needinfo?(m_kato)
Comment 27•6 years ago
|
||
Based on the above comment.
You need to log in
before you can comment on or make changes to this bug.
Description
•