New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 637416 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on:
issue 761201

Blocking:
issue 548407
issue 684658



Sign in to add a comment

IME for Mus: Candidate List Popup

Project Member Reported by moshayedi@chromium.org, Aug 12 2016

Issue description

We should have a mean for displaying candidate list.
 
Labels: Proj-Mustash
Components: Internals>MUS
Blocking: 548407
Labels: -Pri-2 Pri-1
Blockedon: 684658
Project Member

Comment 6 by bugdroid1@chromium.org, Feb 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dfb10e743132bac81702c2a3685f4c7c782d368f

commit dfb10e743132bac81702c2a3685f4c7c782d368f
Author: moshayedi <moshayedi@chromium.org>
Date: Wed Feb 01 14:03:57 2017

IME for Mus: Avoid crash in InitWindowCandidateView().

This CL fixes the crash when the candidate list is created.  crbug.com/684658 
tracks fixing the positioning of the candidate window when the window moves.

BUG= 637416 

Review-Url: https://codereview.chromium.org/2651733002
Cr-Commit-Position: refs/heads/master@{#447506}

[modify] https://crrev.com/dfb10e743132bac81702c2a3685f4c7c782d368f/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc

Comment 8 by sky@chromium.org, Jul 24 2017

Owner: e...@chromium.org

Comment 9 by sky@chromium.org, Aug 8 2017

Owner: thanhph@chromium.org
This is broken in --mash as well.
Blockedon: -684658
Blocking: 684658
Blockedon: 761201
Cc: thanhph@chromium.org
 Issue 684658  has been merged into this issue.
Status: Started (was: Available)
Project Member

Comment 15 by bugdroid1@chromium.org, Oct 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8792ef52806dd22458a5dc00e26242d4742054f9

commit 8792ef52806dd22458a5dc00e26242d4742054f9
Author: Thanh Pham <thanhph@chromium.org>
Date: Thu Oct 05 03:57:38 2017

Implement IsCandidatePopUpOpen() in InputMethodMus.

Client InputMethodMus needs a way to know if there's candidate pop up
window which is created in different process, i.e., Chrome. We can
provide SetCandidateWindowVisible() interface in ime.mojom to allow
RemoteTextInputClient in Chrome process to send visible property of
candidate window pop up to InputMethodMus in client process.

Bug:  637416 
Change-Id: I5c5785972ba90d6ec2e6ceabc9e29043ee226761
Reviewed-on: https://chromium-review.googlesource.com/680037
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Thanh Pham <thanhph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506639}
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/chrome/browser/chromeos/input_method/input_method_engine.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/chrome/browser/chromeos/input_method/input_method_engine_unittest.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos_unittest.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/chrome/browser/ui/views/ime_driver/remote_text_input_client.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/chrome/browser/ui/views/ime_driver/remote_text_input_client.h
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/services/ui/ime/ime_unittest.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/services/ui/public/interfaces/ime/ime.mojom
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/aura/mus/input_method_mus.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/aura/mus/text_input_client_impl.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/aura/mus/text_input_client_impl.h
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/base/ime/chromeos/ime_candidate_window_handler_interface.h
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc
[modify] https://crrev.com/8792ef52806dd22458a5dc00e26242d4742054f9/ui/base/ime/chromeos/mock_ime_candidate_window_handler.h

Project Member

Comment 16 by bugdroid1@chromium.org, Oct 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6e7f2233fcac833262892e0d141811db2970fe6d

commit 6e7f2233fcac833262892e0d141811db2970fe6d
Author: Thanh Pham <thanhph@chromium.org>
Date: Fri Oct 13 17:59:43 2017

Revert "Implement IsCandidatePopUpOpen() in InputMethodMus."

This reverts commit 8792ef52806dd22458a5dc00e26242d4742054f9.

Reason for revert: This CL breaks the candidate window pop up for pinyin when typing on the omnibox because RemoteTextInputClient re-registered a CandidateWindowHandler in its constructor. We can create a different handler in IME::Bridge for RemoteTextInputClient in a future CL.

Original change's description:
> Implement IsCandidatePopUpOpen() in InputMethodMus.
> 
> Client InputMethodMus needs a way to know if there's candidate pop up
> window which is created in different process, i.e., Chrome. We can
> provide SetCandidateWindowVisible() interface in ime.mojom to allow
> RemoteTextInputClient in Chrome process to send visible property of
> candidate window pop up to InputMethodMus in client process.
> 
> Bug:  637416 
> Change-Id: I5c5785972ba90d6ec2e6ceabc9e29043ee226761
> Reviewed-on: https://chromium-review.googlesource.com/680037
> Reviewed-by: Tom Sepez <tsepez@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Commit-Queue: Thanh Pham <thanhph@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#506639}

TBR=sky@chromium.org,tsepez@chromium.org,thanhph@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  637416 
Change-Id: I3689924104dda13d3b650f6ce2453e7b490f2c31
Reviewed-on: https://chromium-review.googlesource.com/717617
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Thanh Pham <thanhph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508753}
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/chrome/browser/chromeos/input_method/input_method_engine.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/chrome/browser/chromeos/input_method/input_method_engine_unittest.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/chrome/browser/ui/views/ime_driver/input_method_bridge_chromeos_unittest.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/chrome/browser/ui/views/ime_driver/remote_text_input_client.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/chrome/browser/ui/views/ime_driver/remote_text_input_client.h
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/services/ui/ime/ime_unittest.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/services/ui/public/interfaces/ime/ime.mojom
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/aura/mus/input_method_mus.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/aura/mus/text_input_client_impl.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/aura/mus/text_input_client_impl.h
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/base/ime/chromeos/ime_candidate_window_handler_interface.h
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc
[modify] https://crrev.com/6e7f2233fcac833262892e0d141811db2970fe6d/ui/base/ime/chromeos/mock_ime_candidate_window_handler.h

Project Member

Comment 17 by bugdroid1@chromium.org, Oct 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2

commit 3a3efda772bd2a07fa66ebb9ff41ef4796739ae2
Author: Thanh Pham <thanhph@chromium.org>
Date: Wed Oct 18 20:40:23 2017

IME for Mus: Candidate list popup should be visible and move with the
browser when the browser window is dragged in mash and non-mash.

Candidate list popup can ask window manager to find its parent by
setting the mus property WindowManager::kContainerId_InitProperty as 
ash::kShellWindowId_SettingBubbleContainer. This will maintain the pop
up window while the browser is dragging.

Bug:  637416 
Change-Id: I3af237f68f6b53f6cc7d26384e2d9693bfe66212
Reviewed-on: https://chromium-review.googlesource.com/685497
Commit-Queue: Thanh Pham <thanhph@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509859}
[modify] https://crrev.com/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
[modify] https://crrev.com/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2/ui/chromeos/BUILD.gn
[modify] https://crrev.com/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2/ui/chromeos/DEPS
[modify] https://crrev.com/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2/ui/chromeos/ime/candidate_window_view.cc
[modify] https://crrev.com/3a3efda772bd2a07fa66ebb9ff41ef4796739ae2/ui/chromeos/ime/candidate_window_view.h

Cc: sadrul@chromium.org
Status: Fixed (was: Started)
Status: Available (was: Fixed)
Components: -Internals>MUS Internals>Services>WindowService
Components: -MUS
Status: Assigned (was: Available)
Labels: -Proj-Mustash Proj-Mash-SingleProcess
Owner: xiy...@chromium.org
Status: Fixed (was: Assigned)
Working fine in my limited test with ksv app.

Feel free to reopen if there is more work that needs to be done here.

Sign in to add a comment