Get rid of NSInputManager, use NSTextInputContext instead

RESOLVED FIXED in mozilla25

Status

()

Core
Widget: Cocoa
RESOLVED FIXED
6 years ago
10 months ago

People

(Reporter: masayuki, Assigned: masayuki)

Tracking

({inputmethod})

Trunk
mozilla25
All
Mac OS X
inputmethod
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

NSInputManager has been deprecated on 10.6 and later. Use NSTextInputContext instead.
Depends on: 875674
Status: NEW → ASSIGNED
Created attachment 765836 [details] [diff] [review]
part.1 Replace NSInputManager in PR_LOG() with NSTextInputContext
Attachment #765836 - Flags: review?(smichaud)
Created attachment 765838 [details] [diff] [review]
part.2 Replace the hack for ::TSMGetActiveDocument() with NSTextInputContext

I researched the behavior of TSMGetActiveDocument() at switching active window.

Then, 10.7's it also has same bug with 10.6. And we can refresh the internal something with a call currentInputContext of NSTextInputContext.
Attachment #765838 - Flags: review?(smichaud)
Created attachment 765840 [details] [diff] [review]
part.3 Replace NSInputManager in IMEInputHandler::DiscardIMEComposition() with NSTextInputContext
Attachment #765840 - Flags: review?(smichaud)
Created attachment 765841 [details] [diff] [review]
part.4 Replace NSInputManager in IMEInputHandler::KillIMEComposition() with NSTextInputContext
Attachment #765841 - Flags: review?(smichaud)
Attachment #765836 - Flags: review?(smichaud) → review+
Attachment #765838 - Flags: review?(smichaud) → review+
Attachment #765840 - Flags: review?(smichaud) → review+
Attachment #765841 - Flags: review?(smichaud) → review+
(Assignee)

Updated

10 months ago
Blocks: 1388647
You need to log in before you can comment on or make changes to this bug.