Closed Bug 1181969 Opened 10 years ago Closed 10 years ago

Typing one letter hides the keyboard

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

42 Branch
defect
Not set
normal

Tracking

(firefox41 fixed, firefox42 fixed, fennec41+)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox41 --- fixed
firefox42 --- fixed
fennec 41+ ---

People

(Reporter: amir.aharoni, Assigned: capella)

References

Details

(Whiteboard: [lang=java][lang=js])

Attachments

(1 file, 1 obsolete file)

To reproduce: * Open a new tab. * Tap the address bar. "about:blank" appears and is selected, and the keyboard appears at the bottom of the screen. * Type 'g' on the keyboard. Observed: 'g' appears, and the keyboard slides down and disappears. Expected: 'g' appears and you can type further. Tested in Firefox Nightly 42.0a1 2015-07-08, latest Nightly, on Samsung Galaxy S5. This doesn't happen in the stable Firefox 39.0 on the same device. And it can be any letter and not just 'g' :)
I'd seen this on my GS3 recently (a couple days ago), but building with the latest nightly m-c, the issue is currently resolved, so I didn't file. Are you sure your repo is current?
I didn't build this, I'm too stupid for that :) It's an app I installed from nightly.mozilla.org and updates itself. I'm using the current one, see the date in the bug description. It's been happening for a few days, for what it's worth. Maybe it will be gone with the next app update.
Aha! I repro'd it again, ( so you weren't crazy :-) ) This message in logcat points the way: E/GeckoConsole(29256): [JavaScript Error: "Error: Error in removeListener: There is no listener for message FindInPage:Find" {file: "resource://gre/modules/Messaging.jsm" line: 135}] If that's not enough, the main regressing bug is: https://bugzilla.mozilla.org/show_bug.cgi?id=1175434 Bug 1175434 - Quick search" bar overlaps with "Find in page" bar cc:mcomella ... simple fix, too easy for a good first bug? or just squash it?
Whiteboard: [lang=java][lang=js]
(In reply to Mark Capella [:capella] from comment #3) > cc:mcomella ... simple fix, too easy for a good first bug? or just squash it? I'm unclear what your intended fix is here - I'm afraid that we might be hiding some initialization/race-condition bug so I think it'd require more investigation than a good first bug would offer. Do you know much about the find in page bar, or is this something Sebastian or I should look into, as the ones who started this regression?
Blocks: 1175434
Flags: needinfo?(markcapella)
Attached patch bug1181969.diff (obsolete) — Splinter Review
I've worked in here and on the gecko side (findhelper.js, etc) with wesj on several changes. It's pretty easy. The previous patch needed to account for "previously inflated, but currently closed" find-in-page-bar state, else you wind up falling through and closing the ime needlessly.
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Flags: needinfo?(markcapella)
Attachment #8632958 - Flags: review?(michael.l.comella)
So this bug is an issue after you use the find-in-page-bar once (open/close). Now I see there's still an issue from earlier, if you open the FIPB, tap into the awsomebar and type a key, it'll still close the FIPB /and the keyboard/, so there'll still be a regression of sorts. mmmm ... We'll have to condition the close of the IME on it's edittext being focused perhaps.
Attached patch bug1181969.diffSplinter Review
Try this ...
Attachment #8632958 - Attachment is obsolete: true
Attachment #8632958 - Flags: review?(michael.l.comella)
Attachment #8632988 - Flags: review?(michael.l.comella)
Comment on attachment 8632988 [details] [diff] [review] bug1181969.diff Review of attachment 8632988 [details] [diff] [review]: ----------------------------------------------------------------- Seems reasonable to me - thanks, Mark!
Attachment #8632988 - Flags: review?(michael.l.comella) → review+
Mark, can you flag for uplift to Aurora? We're chasing bug 1175434.
tracking-fennec: --- → 41+
Flags: needinfo?(markcapella)
mmm, of course ... I'm waiting try results [0], and plan to push to fx-team in around 3-ish hrs. If I wait to request uplift until then, does the timing work out? [0] https://treeherder.mozilla.org/#/jobs?repo=try&revision=1862852a4384
Flags: needinfo?(markcapella)
Comment on attachment 8632988 [details] [diff] [review] bug1181969.diff Approval Request Comment ... This fixes a regression (from bug 1175434) that's targeted for aurora. [Feature/regressing bug #]: bug 1175434 [User impact if declined]: Noticeable UI failure during awesome bar searches for developer releases. [Describe test coverage new/current, TreeHerder]: Local testing looks good, passed a TRY push, waiting on fx-team release to nightly. [Risks and why]: Low risk to push. Simple changeset, easy to back-out or perform further corrections on. No permanent data changes. [String/UUID change made/needed]: None.
Attachment #8632988 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Comment on attachment 8632988 [details] [diff] [review] bug1181969.diff Seems like a non-invasive patch, let's checkin to Aurora. Also, appreciate the pretty awesome write-up on impact/risk associated with this patch.
Attachment #8632988 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: