Closed
Bug 764193
Opened 12 years ago
Closed 12 years ago
Allow form autocomplete popup after user starts typing
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect, P2)
Tracking
(firefox14 unaffected, firefox15+ wontfix, firefox16+ verified, firefox17 verified, blocking-fennec1.0 -, fennec15+)
VERIFIED
FIXED
Firefox 17
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
blassey
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
In bug 758820, I disabled the form autocomplete popup after the user starts typing. This bug is track work necessary to re-enable form autocomplete after the user starts typing.
Some example problems when form autocomplete is enabled:
* Most VKBs with suggestions will ignore autocomplete text when an autocomplete entry is selected mid-word.
* Swype will select the current word or move the cursor when an autocomplete entry is selected mid-word.
Assignee | ||
Comment 1•12 years ago
|
||
This bug should probably be blocking-fennec1.0=.N+
blocking-fennec1.0: --- → ?
Updated•12 years ago
|
blocking-fennec1.0: ? → .N+
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 2•12 years ago
|
||
I don't think I will be able to fix this bug and all its blocking bugs before Fennec 14.1.
Form autocomplete is currently disabled after the user starts typing in a text input form. If we re-enable the form autocomplete popup, numerous IME-specific bugs are revealed. Swype, Hacker's Keyboard, TouchPal Keyboard, and OpenWnn Plus all have problems and they all misbehave differently. Thus, I don't think we can safely re-enable the form autocomplete popup (after the user starts typing) until ALL those IME-specific bugs are fixed.
We currently display the form autocomplete popup until the user starts typing, so we are not losing a lot of functionality when we disable the popup after the user starts typing.
blocking-fennec1.0: .N+ → ?
Updated•12 years ago
|
tracking-fennec: --- → 15+
blocking-fennec1.0: ? → -
Assignee | ||
Comment 3•12 years ago
|
||
WIP: Commit composition string before sending autocomplete notification.
Assignee | ||
Updated•12 years ago
|
Priority: -- → P2
Assignee | ||
Comment 4•12 years ago
|
||
If we fix this bug in Firefox 16, we should uplift the fix for TouchPal bug 768106, too.
Updated•12 years ago
|
tracking-firefox15:
--- → +
tracking-firefox16:
--- → +
Assignee | ||
Comment 5•12 years ago
|
||
Blocklist form autocomplete for some IMEs:
* Google Japanese Input (bug 775850)
* OpenWnn Plus (bug 768108)
* Simeji (bug 768108)
* Swype (bug 755909)
* Swype Beta (bug 755909)
Attachment #644203 -
Flags: review?(blassey.bugs)
Updated•12 years ago
|
Attachment #644203 -
Flags: review?(blassey.bugs) → review+
Comment 6•12 years ago
|
||
Comment on attachment 644203 [details] [diff] [review]
blocklist-some-IMEs.patch
>diff --git a/mobile/android/base/GeckoInputConnection.java b/mobile/android/base/GeckoInputConnection.java
>+ if (DEBUG && blocklisted) {
>+ Log.d(LOGTAG, "FormAssist: Blocklisting \"" + mCurrentInputMethod + "\" IME");
>+ }
>+ GeckoApp.mAppContext.mFormAssistPopup.block(blocklisted);
Should this be null checked? I am more paranoid since we made things non-static in GeckoApp.
>+ private static String getCurrentInputMethod() {
>+ return Secure.getString(GeckoApp.mAppContext.getContentResolver(),
>+ Secure.DEFAULT_INPUT_METHOD);
Same
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #6)
> >+ GeckoApp.mAppContext.mFormAssistPopup.block(blocklisted);
>
> Should this be null checked? I am more paranoid since we made things
> non-static in GeckoApp.
I'll null check mFormAssistPopup, but I'm concerned that we're uglifying our code because we don't have a good understanding of GeckoApp's Activity lifetime (which probably an important thing to know). :)
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #6)
> >+ private static String getCurrentInputMethod() {
> >+ return Secure.getString(GeckoApp.mAppContext.getContentResolver(),
> >+ Secure.DEFAULT_INPUT_METHOD);
>
> Same
GeckoApp initializes `mAppContext = this` in onCreate() and never resets `mAppContext = null`.
Assignee | ||
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6b76a38e015
Form autocomplete popup has been re-enabled, but some IMEs are now blocklisted until their individual bugs are fixed.
status-firefox17:
--- → fixed
Target Milestone: Firefox 16 → Firefox 17
Comment 10•12 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #7)
> (In reply to Mark Finkle (:mfinkle) from comment #6)
> > >+ GeckoApp.mAppContext.mFormAssistPopup.block(blocklisted);
> >
> > Should this be null checked? I am more paranoid since we made things
> > non-static in GeckoApp.
>
> I'll null check mFormAssistPopup, but I'm concerned that we're uglifying our
> code because we don't have a good understanding of GeckoApp's Activity
> lifetime (which probably an important thing to know). :)
Perhaps we could add getters instead of accessing the data members directly. The getters could new the data member if it is null.
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 12•12 years ago
|
||
Aurora/Beta approval?
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 644203 [details] [diff] [review]
blocklist-some-IMEs.patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: Form autocomplete will still be disabled once user starts typing in text field.
Testing completed (on m-c, etc.): Baked on m-c for 3 days without complaints or new autocomplete bugs.
Risk to taking this patch (and alternatives if risky): Some buggy IMEs break form autocomplete, but this patch blocklists those IMEs for now: Swype, Swype Beta, OpenWnn Plus, and Google Japanese Input Beta.
String or UUID changes made by this patch: None
Attachment #644203 -
Flags: approval-mozilla-aurora?
Comment 14•12 years ago
|
||
Comment on attachment 644203 [details] [diff] [review]
blocklist-some-IMEs.patch
Looks low risk enough to land on Aurora at this point in the cycle. Will add qawanted to verify this does what's intended.
Attachment #644203 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 15•12 years ago
|
||
Comment 16•12 years ago
|
||
Correct me if I'm wrong, looks like this is wont-fix on mozilla-beta 15
Status: RESOLVED → VERIFIED
Keywords: qawanted
Assignee | ||
Comment 17•12 years ago
|
||
Thanks for fixing the status. You are correct.
Updated•12 years ago
|
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•