Open Bug 1542228 Opened 5 years ago Updated 2 years ago

Urlbar search recommendations dropdown/popup/panel blinks/flickers whenever I type with Korean IME

Categories

(Firefox :: Address Bar, defect, P3)

66 Branch
x86_64
macOS
defect
Points:
3

Tracking

()

REOPENED
Tracking Status
firefox66 --- affected
firefox92 --- affected

People

(Reporter: jeonghyun0126, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Type korean letters on address bar.

Actual results:

Search recommendations dropdown blinks whenever I type in korean, English doesn't.

Expected results:

Search recommendations dropdown should not blink no matter what language I type.

Severity: normal → major
Component: Untriaged → Search
OS: Unspecified → macOS
Hardware: Unspecified → x86_64
Component: Search → Toolbars and Customization

Again, not sure why this got moved... Seems specific to the search bar.

Reporter: does the same thing happen in the location/address bar?

Component: Toolbars and Customization → Search
Flags: needinfo?(subacc09)
Flags: needinfo?(dharvey)

Sorry new to triage here, I thought the Search component mostly refererred to the backend / SearchService and the UI would come under toolbars, please move the stuff back if I get it wrong and will figure out where the boundary is, cheers

Flags: needinfo?(dharvey)

(In reply to :Gijs (he/him) from comment #1)

Again, not sure why this got moved... Seems specific to the search bar.

Reporter: does the same thing happen in the location/address bar?

The thing what I reported happens in the address bar.

Flags: needinfo?(subacc09)

Given it happens in the address bar, sounds like toolbar is the best place for this one hopefully

Component: Search → Toolbars and Customization

(In reply to Dale Harvey (:daleharvey) from comment #4)

Given it happens in the address bar, sounds like toolbar is the best place for this one hopefully

No, there's a separate component for the location/address/url bar component and its autocomplete popup...

Component: Toolbars and Customization → Address Bar

subacc09, thanks for reporting this. I can't reproduce your video exactly where it looks like you're simply hitting the space bar over and over to trigger the problem, but I do notice that as I type random keys with macOS's Korean IME, the popup flickers, and it doesn't flicker when I type in English. (With the space key, the flicker happens when I hit space one time, but not after that.)

Would you mind downloading the Firefox Nightly and trying to reproduce the problem there? https://www.mozilla.org/en-US/firefox/channel/desktop/ (That's a U.S. English link -- just search for Firefox Nightly if it doesn't redirect to your locale)

Be sure to create a new Firefox profile to test with Nightly. Once you're running Nightly, please go to about:config, search for browser.urlbar.quantumbar. Its value should be "true". If it's not, press the Toggle button.

I can reproduce the problem on Nightly, but I'd like to make sure that you can, too.

Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(subacc09)
Priority: -- → P2

(In reply to Drew Willcoxon :adw from comment #6)

subacc09, thanks for reporting this. I can't reproduce your video exactly where it looks like you're simply hitting the space bar over and over to trigger the problem, but I do notice that as I type random keys with macOS's Korean IME, the popup flickers, and it doesn't flicker when I type in English. (With the space key, the flicker happens when I hit space one time, but not after that.)

Would you mind downloading the Firefox Nightly and trying to reproduce the problem there? https://www.mozilla.org/en-US/firefox/channel/desktop/ (That's a U.S. English link -- just search for Firefox Nightly if it doesn't redirect to your locale)

Be sure to create a new Firefox profile to test with Nightly. Once you're running Nightly, please go to about:config, search for browser.urlbar.quantumbar. Its value should be "true". If it's not, press the Toggle button.

I can reproduce the problem on Nightly, but I'd like to make sure that you can, too.

I can reproduce it either. Nightly version, and browser.urlbar.quantumbar toggled true.

Flags: needinfo?(subacc09)

Thanks! I'm guessing this has to do with how we handle IME composition. We should fix this for release. It would be good to know whether this happens only on Mac.

Points: --- → 3
Priority: P2 → P1

Why is it a qb release blocker if it also happens in 66?

Flags: needinfo?(adw)

True

No longer blocks: quantumbar-release
Flags: needinfo?(adw)

(In reply to Drew Willcoxon :adw from comment #8)

Thanks! I'm guessing this has to do with how we handle IME composition. We should fix this for release. It would be good to know whether this happens only on Mac.

Yup. I can't reproduce on Windows. Don't know how it's gonna be on Linux.

It sounds annoying, but it's not a P1, for which it would need an assignee at least.

Priority: P1 → P3
Summary: Search recommendations dropdown blinks whenever I type in korean → Search recommendations dropdown blinks whenever I type with korean IME

Tweaking the summary to make it easier to find in searches

Summary: Search recommendations dropdown blinks whenever I type with korean IME → Urlbar search recommendations dropdown/popup/panel blinks/flickers whenever I type with Korean IME

Hi, I think that this bug has been fixed. If I'm mistaken, please reopen it.
Regards, Flor.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

[Tracking Requested - why for this release]:

Masatoshi, are you in a position to advise on what is going on here or how to fix it?

Flags: needinfo?(VYV03354)

Masayuki would be a better person about IME problems.

Flags: needinfo?(VYV03354) → needinfo?(masayuki)

which version of Firefox are you using?

Flags: needinfo?(jeonghyun0126)

I'm using 92.0

Flags: needinfo?(jeonghyun0126)

Kagami, do you see the same, can you help us understanding what's up?

Flags: needinfo?(krosylight)

I think the pref is now browser.urlbar.keepPanelOpenDuringImeComposition=true. Could you try do that?

Flags: needinfo?(krosylight) → needinfo?(jeonghyun0126)

Thank you, you're right the pref was renamed, sorry for pointing out the wrong pref :(

I think the pref is now browser.urlbar.keepPanelOpenDuringImeComposition=true. Could you try do that?

The issue is gone after I set to this. Thanks for the catch up :)

Flags: needinfo?(jeonghyun0126)

Cool!

Marco, is there a plan to take the experiment further? Can we set it as default for ko-KR (if such configuration is even supported)?

Flags: needinfo?(mak)

The long term plan was bug 1680801, but it seems complex and requires changes to the ime API, maybe it's not even feasible (it sounds like we can't know if IME will open a picker or not).
I don't know enough about korean language and keyboard layouts to tell whether this would be a good change for all of them, or only a subset of them. If we can clearly identify and detect keyboard layouts where this is an obvious improvement, we should enable it for those.

Flags: needinfo?(mak)

I'm sure 99.9% of users on Windows just use Microsoft Korean IME, and also sure third-parties are trying hard to mock its (undocumented 😬) behavior, so it's generally safe to think only about that single implementation.

I believe this is an obvious improvement for Microsoft Korean IME, but objections are welcome.

(In reply to Kagami :saschanaz from comment #28)

I'm sure 99.9% of users on Windows just use Microsoft Korean IME, and also sure third-parties are trying hard to mock its (undocumented 😬) behavior, so it's generally safe to think only about that single implementation.

What user group is this 99.9% talking about? It's implicit in your message, unfortunately, and it sounds to me like in comment #27 Marco is suggesting that we're fine enabling this behaviour for the right user set, but the important question is how to identify that user set. Easy ways of doing that are based on the Firefox locale, or perhaps the Windows locale, or less certainly, the keyboard configuration. Do we expose the IME in use and/or keyboard layout somewhere that the URL bar frontend code can easily figure out? Or do you think using the Windows or Firefox locale is a good enough proxy? It's not really clear to me which of these you're suggesting we do.

Flags: needinfo?(krosylight)

My background was comment #26, the users on Firefox ko-KR locale. Since behaviors of Korean keyboards on Windows are same or at least similar in terms of picker opening (they open it only from dedicated Hanja conversion key, which happens rarely enough), I think it's okay to enable it for all Korean users.

Ideally it would be better to detect keybord config but I have no idea about that, maybe Masayuki is better person for that (and he's already NI'ed).

Flags: needinfo?(krosylight)

Some more background for the decision:

  • The IME market for Korean language is not big, mostly because Hangul is mostly written as-is and rarely needs conversion to Hanja (which opens the picker), whereas writing Japanese does the conversion very frequently. (AFAIK third party Japanese IMEs are mostly for better conversion feature)
  • How rare is that? If you open https://newsstand.naver.com/ and click random articles written in Korean and you'll typically see zero Hanja.

Well, I'm in PTO so I'll be back here next week though.

Currently, no way to know the active keyboard layout is for which language nor whether IME or not from JS. We could do it at least on Windows and macOS with some patches.

And we're collecting share of IMEs in our users who use IME at least once in a session:

Download the data, and calculate the share only from Korean IMEs. Note that same IME are collected as different IME on Windows if the name is different in some locales of OS.

Flags: needinfo?(masayuki)

On Windows, Korean IME share in our beta 92 users is:

  • MICROSOFT 입력기 (MICROSOFT IME): 91.7%
  • MICROSOFT IME 2010: 3.2%
  • MICROSOFT OFFICE IME 2007: 2.5%

And those IMEs are < 1%:

  • 한컴 입력기
  • 微软输入法 (Microsoft IME on zh-CN?)
  • 微軟輸入法 (Microsoft IME on zh-TW?)
  • NALGAESET HANGUL INPUT SYSTEM
  • 날개셋 한글 입력기
  • 윤디 한글 입력기
  • MICROSOFT OLD HANGUL
  • ÉDITEUR DE MÉTHODE D’ENTRÉE MICROSOFT
  • MICROSOFT-IME
  • <날개셋> 한글 입력기
  • EDYTOR IME FIRMY MICROSOFT
  • MICROSOFT 옛한글

On macOS:

  • COM.APPLE.INPUTMETHOD.KOREAN.2SETKOREAN: 95%
  • ORG.YOUKNOWONE.INPUTMETHOD.GUREUM.HAN2: 1.6%
  • ORG.YOUKNOWONE.INPUTMETHOD.GUREUM.HAN3FINAL: 1.3%

And those IMEs are < 1%:

  • COM.APPLE.INPUTMETHOD.KOREAN.390SEBULSHIK
  • COM.APPLE.INPUTMETHOD.KOREAN.3SETKOREAN
  • COM.APPLE.INPUTMETHOD.KOREAN.HNCROMAJA

But especially on macOS, the number of users who use Korean IME is not so many. So the low-share IME's percentage can be different from actual share.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: