Add a pref to show search suggestion while IME composition
Categories
(Firefox :: Address Bar, enhancement, P3)
Tracking
()
People
(Reporter: saschanaz, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
214.68 KB,
image/png
|
Details | |
Bug 1673971 - Add a pref to show search suggestions during IME composition in the address bar. r=adw
47 bytes,
text/x-phabricator-request
|
Details | Review |
Chrome/Edge currently shows search suggestion when doing IME composition (with the candidate window initially suppressed) while Firefox does not.
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1632597#c10 I thought it would be more complex, but I recently found that <input type=search>
on Gecko already shows the same IME behavior as it does on Blink. Which suggests that this might be easier to implement.
Reporter | ||
Comment 1•4 years ago
|
||
BTW, the Firefox URL bar also intermittently shows Chrome-like behavior, probably a bug.
Assignee | ||
Comment 2•4 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1632597#c8 is still relevant here, may need coordination with UX?
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Well, on Windows, we could detect whether there is a UI which is created by IME. Then, our chrome UI can consider whether it's time to open its own popup or not.
https://docs.microsoft.com/en-us/windows/win32/api/msctf/nn-msctf-itfuielement
But I don't see similar API on the other platforms (including IMM on Windows).
Reporter | ||
Comment 4•4 years ago
|
||
may need coordination with UX?
True. I think the Chrome way provides the traditional Windows UX, as even Internet Explorer shows the same IME behavior. Do you know who is the best person to handle this?
But I don't see similar API on the other platforms (including IMM on Windows).
Maybe we could limit this behavior to Windows and keep the current behavior on other platforms.
Reporter | ||
Comment 5•4 years ago
|
||
BTW, when you type Japanese in this example page does the candidate list automatically open on macOS? It does on Ubuntu using ibus-mozc, which means we have platform-dependent behavior on <input type=search>
. 🤔
Comment 6•4 years ago
|
||
I don't see any difference between macOS and Unbuntu 20.10. When I type kana or alphabet as composing character, autocomplete does not show the popup. When commits a character, it shows a popup to list up which includes the character.
Assignee | ||
Comment 7•4 years ago
|
||
I'd have no problem having a different behavior on Windows if it's an improvement for users, it's still the platform with the most users.
Reporter | ||
Comment 8•4 years ago
|
||
Thanks Marco!
(In reply to Masayuki Nakano [:masayuki] (he/him)(JST, +0900) from comment #6)
I don't see any difference between macOS and Unbuntu 20.10. When I type kana or alphabet as composing character, autocomplete does not show the popup. When commits a character, it shows a popup to list up which includes the character.
So you mean you don't see this 'Tabキーで選択' until you commit it? On my machine it opens a popup immediately after I type anything. Not sure what I did wrong...
If you meant the URL bar behavior, what does Safari do here? Does it also show the same Firefox URL bar behavior?
Comment 9•4 years ago
|
||
No, I just said about whether our autocomplete behavior is same or different on macOS vs. Linux. Not the IME specific UI.
Safari shows autocomplete list even when IME shows a popup, but it's overlapped by the IME's popup. I.e., not usable actually.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
So, I'm thinkin to introduce an urlbar pref for now, that will pretty much allow to keep the urlbar panel open during IME. I filed bug 1680801 to investigate a better approach for the future, but at least the pref will allow us to experiment with the different behavior and find bugs sooner, and will allow users of IME not opening panels, like Korean, to have a (hopefully) better experience.
Reporter | ||
Comment 11•3 years ago
•
|
||
Can I add pref check to https://phabricator.services.mozilla.com/D78801 then? 👀 (Or would it be more complex?)
Assignee | ||
Comment 12•3 years ago
|
||
there's a little bit more and the test needs to be adapted, I have the patch almost done anyway.
Reporter | ||
Comment 13•3 years ago
|
||
Yay, I'll happily drop it then.
Assignee | ||
Comment 14•3 years ago
|
||
Depends on D98768
Comment 15•3 years ago
|
||
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/7792ae96b5bb Add a pref to show search suggestions during IME composition in the address bar. r=adw
Comment 16•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 17•3 years ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: For IME users the pref we're adding here may largely improve their experience. We cannot enable this globally or automatically because it depends on the specific locale, platform and IME layout, whether it opens a picker panel or not.
[Affects Firefox for Android]: no
[Suggested wording]: Experimental support to keep the Address Bar panel open during Input Method composition of a grapheme can be enabled by setting the preference browser.urlbar.imeCompositionClosesPanel to false. Note that the Input Method picker panel may cover the Address Bar results, thus for now this is only suggested for Input Methods not opening a picker panel.
[Links (documentation, blog post, etc)]: nope
Comment 18•3 years ago
|
||
I can confirm this enhancement, I verified it on Windows 10 x64, Ubuntu 20.04 LTS and macOS 10.13 using Fx 86.0a1(2020-12-30) and Fx 85.0b4.
Comment 19•3 years ago
|
||
Hi Marco, If this is an experiment, should that be added to the nightly experiments section of about:preferences? Usually we tend to not direct users too much to about:config tweaks that they forget afterwards
Assignee | ||
Comment 20•3 years ago
|
||
It is not exactly an experiment, but we could still do that.
We know this is a better experience for some users, the problem is we can't detect automatically when to enable it, since it depends on specific keyboard layouts and OS (some open a picker, some don't). The reason for my relnote request was mostly to spread awareness this exists, because if your IME doesn't open a picker, then using this pref you can get a better experience.
It's possible that adding to the experiments section would be enough to spread awareness for now. I also agree it may not be great to suggest users to go to about:config, in general.
I'll file a bug to do add that pref, thanks.
Comment 21•3 years ago
|
||
Once we have it in the Nightly experiments section, I think this release note request would fit fine in Nightly Release notes. Mentioning it as well in the These Weeks in Firefox blog posts on the Nightly blog would also raise awareness.
Comment 22•3 years ago
|
||
Comment 23•3 years ago
|
||
Comment on attachment 9198024 [details]
Bug 1673971- Add a Nightly Experiment option to search during IME composition. r?harry
Revision D102347 was moved to bug 1685991. Setting attachment 9198024 [details] to obsolete.
Comment 24•3 years ago
|
||
Note added to 87 Nightly release notes only + tweet on the FirefoxNightly twitter account to raise awareness about the feature in Nightly Experiments.
Assignee | ||
Updated•3 years ago
|
Description
•