Closed
Bug 876689
Opened 11 years ago
Closed 11 years ago
Virtual keyboard does not invoke on text input field focus if "Don't keep activities" is enabled
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox24 verified, fennec24+)
RESOLVED
FIXED
Firefox 24
People
(Reporter: u421692, Assigned: blassey)
References
Details
(Keywords: regression, reproducible)
Attachments
(3 files, 2 obsolete files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
Environment:
Build: Firefox for Android 24.0a1 (2013-05-28)
Device: Samsung Galaxy S2(Android 4.0.3)
Steps to reproduce:
1. Open any site containing a Text Input Field(google.com; gmail.com; youtube.com, etc).
2. Tap on the Text Input Field.
Expected result:
VKB is opened, and the user can type in Text Field.
Actual result:
The cursor appears in the Text Field, but the VKB is never opened.
Note: I was only able to reproduce this issue on a Samsung Galaxy S2.
Comment 1•11 years ago
|
||
Regression? Can you find a range if so?
Comment 2•11 years ago
|
||
This works for me on my GT-I9100 (Galaxy SII International, Android 4.0.4)
The regression window for this issue is:
1. mozilla central
good build: fennec-24.0a1 (25.05.2013)
bad build: fennec-24.0a1 (26.05.2013)
pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=218785bab4bd&tochange=0fed3377c839
Comment 4•11 years ago
|
||
Nothing really sticks out from that. Can you try narrowing this with inbound builds? Bug 869156 listed in there, can you try by disabling the dynamic toolbar too?
The regression window for this issue is:
mozilla inbound:
good build: 1369415032
bad build: 1369415692
pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=554361b240cf&tochange=9a330eb80bc3
Comment 6•11 years ago
|
||
I see this on my Samsung Nexus S trying to invoke the keyboard in about:config!
Finkle, do you see this?
tracking-fennec: --- → ?
status-firefox24:
--- → affected
Flags: needinfo?(mark.finkle)
Summary: [Samsung Galaxy S2] VKB is not opened when tapping on any Text Input Field → VKB is not opened when tapping on any Text Input Field
Updated•11 years ago
|
Keywords: regression,
reproducible
Summary: VKB is not opened when tapping on any Text Input Field → Virtual keyboard does not invoke on text input field focus
Comment 7•11 years ago
|
||
Current Nightly works fine on my Nexus S using Android 2.3.7
I tested on abuot:config, google.com and bugzilla.mozilla.org. The VKB appears when expected.
Flags: needinfo?(mark.finkle)
Comment 8•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #7)
> Current Nightly works fine on my Nexus S using Android 2.3.7
Video: http://www.youtube.com/watch?v=5F98NpUz7KA
My device is running Android 4.2, which I doubt should make any difference. I can still reproduce on today's Nightly. The <input> on about:config receives focus as the text selection handles do appear. There is no keyboard invocation.
Updated•11 years ago
|
tracking-fennec: ? → 24+
Comment 9•11 years ago
|
||
Apparently I was still on yesterday's update and I got an update today when I checked again and things are working for me again.
Pop, please re-open if you can still reproduce on your SII.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(mihai.g.pop)
Resolution: --- → WORKSFORME
Comment 10•11 years ago
|
||
I still can reproduce the issue on Nightly 24.0a1 2013-06-02 on the Samsung Galaxy S2 (Android 4.0.4) with the steps in Comment 0. Reopening. This is only reproducible on the S2 from what I can tell.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•11 years ago
|
Flags: needinfo?(mihai.g.pop)
Comment 11•11 years ago
|
||
(In reply to Adrian Tamas from comment #10)
> I still can reproduce the issue on Nightly 24.0a1 2013-06-02 on the Samsung
> Galaxy S2 (Android 4.0.4) with the steps in Comment 0. Reopening. This is
> only reproducible on the S2 from what I can tell.
I see something similar when I turn on the "Do not keep activities" setting in Android. Do you have that setting turned on, Adrian?
Assignee: nobody → nchen
Comment 12•11 years ago
|
||
FWIW, this patch fixes the particular bug I'm seeing. Brad, was there a reason to keep a separate LayerView reference in GeckoAppShell, versus always calling getGeckoInterface().getLayerView()?
Updated•11 years ago
|
Attachment #758707 -
Flags: feedback?(blassey.bugs)
Comment 13•11 years ago
|
||
Hey Jim, see also bug 879791 I filed today for Kats, same symptoms as this bug.
Comment 14•11 years ago
|
||
(In reply to Jim Chen [:jchen :nchen] from comment #11)
> (In reply to Adrian Tamas from comment #10)
> > I still can reproduce the issue on Nightly 24.0a1 2013-06-02 on the Samsung
> > Galaxy S2 (Android 4.0.4) with the steps in Comment 0. Reopening. This is
> > only reproducible on the S2 from what I can tell.
>
> I see something similar when I turn on the "Do not keep activities" setting
> in Android. Do you have that setting turned on, Adrian?
It seems that the option was set to ON by someone and I didn't check. The issue was caused by having the option ON. Changing the title to reflect this.
Summary: Virtual keyboard does not invoke on text input field focus → Virtual keyboard does not invoke on text input field focus if "Don't keep activities" is enabled
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 758707 [details] [diff] [review]
Get the latest LayerView from Gecko interface
Review of attachment 758707 [details] [diff] [review]:
-----------------------------------------------------------------
The GeckoInterface is intended to be the thing that the application implements to handle more advanced operations of the browser. In fact we probably want to get rid of the getLayerView() method from GeckoInterface and instead have GeckoApp call GeckoAppShell.setLayerView() whenever the LayerView changes.
Somewhat unrelated to this, this is one of the things that will have to be refactored to handle having multiple GeckoViews in one application.
Attachment #758707 -
Flags: feedback?(blassey.bugs) → feedback-
Comment 16•11 years ago
|
||
(In reply to Brad Lassey [:blassey] from comment #15)
> Comment on attachment 758707 [details] [diff] [review]
> Get the latest LayerView from Gecko interface
>
> Review of attachment 758707 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> The GeckoInterface is intended to be the thing that the application
> implements to handle more advanced operations of the browser. In fact we
> probably want to get rid of the getLayerView() method from GeckoInterface
> and instead have GeckoApp call GeckoAppShell.setLayerView() whenever the
> LayerView changes.
This patch does the trick.
Attachment #758707 -
Attachment is obsolete: true
Attachment #759121 -
Flags: review?(blassey.bugs)
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 759121 [details] [diff] [review]
Update GeckoAppShell's LayerView from GeckoApp (v2)
Review of attachment 759121 [details] [diff] [review]:
-----------------------------------------------------------------
basically right, but I just wrote the same patch with the cleanup I was looking for. Review incoming to you.
Attachment #759121 -
Flags: review?(blassey.bugs) → review-
Assignee | ||
Comment 18•11 years ago
|
||
Assignee: nchen → blassey.bugs
Attachment #759121 -
Attachment is obsolete: true
Attachment #759128 -
Flags: review?(nchen)
Comment 19•11 years ago
|
||
Comment on attachment 759128 [details] [diff] [review]
patch
Review of attachment 759128 [details] [diff] [review]:
-----------------------------------------------------------------
Do we want to get rid of GeckoApp.getLayerView() entirely? To avoid confusion with GeckoAppShell.getLayerView()
I found quite a few remaining callers of GeckoApp.getLayerView() in Prompt, RobocopAPI, TextSelection, TextSelectionHandle, WebAppImpl.
Attachment #759128 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 20•11 years ago
|
||
solid point. Here's an additional patch to do that.
Attachment #759174 -
Flags: review?
Assignee | ||
Updated•11 years ago
|
Attachment #759174 -
Flags: review? → review?(nchen)
Comment 21•11 years ago
|
||
Comment on attachment 759174 [details] [diff] [review]
patch to remove GeckoApp.getLayerView()
Review of attachment 759174 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good with a nit
::: mobile/android/base/WebAppImpl.java
@@ +217,4 @@
> @Override
> protected void geckoConnected() {
> super.geckoConnected();
> + GeckoAppShell.getLayerView().setOverScrollMode(View.OVER_SCROLL_NEVER);
You can use mLayerView here, since WebAppImpl extends GeckoApp
Attachment #759174 -
Flags: review?(nchen) → review+
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Verified fixed on:
Build: Firefox for Android 25 Nightly( 2013-07-17), Firefox for Android 24 Aurora( 2013-07-17)
Device: LG Nexus 4
OS: Android 4.2.2
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
•