Open Bug 1918161 Opened 10 months ago Updated 9 months ago

IME gets stuck with the test changes from bug 1917456

Categories

(Core :: DOM: Editor, defect)

defect

Tracking

()

ASSIGNED

People

(Reporter: emilio, Assigned: masayuki)

References

(Depends on 1 open bug)

Details

(Keywords: inputmethod)

If you let it run, it ends up doing:

[rr 26531 146069][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146072]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146075][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146078]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146414][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146417]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146420][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146423]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146663][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146666]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146848][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146851]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 146948][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 146951]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 147184][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 147187]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 147684][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 147687]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 147966][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 147969]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 148165][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 148168]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 148403][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 148406]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 148659][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 148662]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 148861][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 148864]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149112][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149115]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149349][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149352]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149589][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149592]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149715][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149718]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149917][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149920]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149957][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149960]-5/dom/events/IMEContentObserver.cpp:1779
[rr 26531 149995][Child 26531, Main Thread] WARNING: 'state != eState_Initializing && state != eState_Observing', file /home/emilio/src/moz/gecko[rr 26531 149998]-5/dom/events/IMEContentObserver.cpp:1779

Until blur. Not sure if a consequence of bug 1917867 tho. I'll blur for now to workaround it in the test.

Well, looks like IMEContentObserver failed sending NOTIFY_IME_OF_FOCUS. When IMEStateManager is notified of a focus change, it creates IMEContentObserver instance and initializes its members and enqueues a job to send the focus notification to widget. When the sender succeeded to send the notification, it notifies IMEContentObserver to start observing the editable node.

Severity: -- → S3
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.