Committing composition string with switching keyboard layout on Ubuntu doesn't restart autocomplete immediately

NEW
Unassigned

Status

()

Toolkit
Autocomplete
P3
normal
3 years ago
2 months ago

People

(Reporter: fullcommunism, Unassigned)

Tracking

({inputmethod})

Trunk
inputmethod
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150224133805

Steps to reproduce:

On Ubuntu 14.04, with the Anthy Input Method:

1. While Anthy is activated, type something in the address bar (so that it looks like this: http://i.imgur.com/FqwptlG.png )
3. Press 'Meta' + 'Space' to switch input method whilst the entered text is in "underline mode" (the mode where you can press 'Space' to transform the underlined characters into kanji)

Note that to reproduce the bug the input method *must* be switched while in "underline mode". If you type in something, then press 'Enter' to take it out of underline mode and "finalise" the characters, then this bug is not activated.


Actual results:

URL bar autocomplete stops working.


Expected results:

Typing "google" should autocomplete to "google.com" and show a list of other suggestions underneath.
(Reporter)

Comment 1

3 years ago
(Typo: step 2 is not missing, "3" should have been "2")
(Reporter)

Updated

3 years ago
Component: Untriaged → Location Bar
(Reporter)

Updated

3 years ago
Summary: URL bar autocomplete broken by IME switch → URL bar autocomplete broken by mid-input IME switch

Comment 2

3 months ago
Masayuki-san, do you know anything about this bug (valid, invalid, wfm)?
Flags: needinfo?(masayuki)
Sorry for the delay to reply.

Sounds like that the reporter tried to say that "when you type "g" with Anthy (IME) into the URL bar and then, press Meta + Space (I guess, it's Super + Space), finally, "google.com" or something should be suggested by autocomplete.

I also reproduce it and I cannot reproduce if I commit the composition string "g" with Enter key. Additionally, I see same symptom with autocomplete of <input> element in web content. So, I bet that this must be a bug of autocomplete module. Perhaps, neither input event nor compositionend event is handled as a trigger of starting autocomplete because I don't see any keyboard events after compositionend event only in this case.
Status: UNCONFIRMED → NEW
Component: Address Bar → Autocomplete
Ever confirmed: true
Flags: needinfo?(masayuki)
Keywords: inputmethod
OS: Linux → All
Product: Firefox → Toolkit
Hardware: x86_64 → All
Version: 36 Branch → Trunk
Summary: URL bar autocomplete broken by mid-input IME switch → Committing composition string with switching keyboard layout on Ubuntu doesn't restart autocomplete immediately

Updated

2 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.