Closed Bug 923885 Opened 11 years ago Closed 4 years ago

Keyboard should hide after tapping outside of Find In Page bar

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rnewman, Assigned: darkowlzz, Mentored)

Details

(Whiteboard: [lang=java])

Attachments

(1 file)

It hides when you hit the next/prev buttons, but not when you focus the page. This handily allows me to navigate the page by tapping Space, but really isn't desirable otherwise.
I think this could make a good mentor bug. Sriram, I feel like you would know how to fix this, so would you want to be a mentor for this bug?
Flags: needinfo?(sriram)
I could mentor this.
Flags: needinfo?(sriram)
Whiteboard: [mentor=sriram]
(In reply to Sriram Ramasubramanian [:sriram] from comment #2) > I could mentor this. Awesome! Thanks!
Whiteboard: [mentor=sriram] → [mentor=sriram][lang=java]
(In reply to Sriram Ramasubramanian [:sriram] from comment #2) > I could mentor this. Hi, I'm a new developer and I would like to know if this may be a good bug to start on mozilla. Thanks.
Flags: needinfo?(sriram)
I know someone was trying to work on it by asking questions in IRC. I don't see him now. If he doesn't want to take it, you could work on this.
Flags: needinfo?(sriram)
Hi, I am the one who is working on it. It's the first fennec bug I am working on :)
Assignee: nobody → indiasuny000
This patch seems to work. Please see if this is how it should be. Also, do I have to write a test for this?
Attachment #818660 - Flags: feedback?(sriram)
Comment on attachment 818660 [details] [diff] [review] Added an onFocusChange listener to mFindText which takes care of the SoftInput This feels right. This would hide the IME when the focus moves from the text to the up/down arrow.
Attachment #818660 - Flags: feedback?(sriram) → feedback+
Attachment #818660 - Flags: feedback+ → feedback?(margaret.leibovic)
(In reply to Sunny [:darkowlzz] from comment #7) > Also, do I have to write a test for this? Not strictly required, but it would be greatly appreciated! You could probably add something to this existing test: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/testFindInPage.java.in
Comment on attachment 818660 [details] [diff] [review] Added an onFocusChange listener to mFindText which takes care of the SoftInput Review of attachment 818660 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me.
Attachment #818660 - Flags: feedback?(margaret.leibovic) → feedback+
Status: NEW → ASSIGNED
I was trying to write test for the above fix, but got stuck with detecting the visibility of the virtual keyboard on the screen. How do I check for it's visibility on the screen?
Status: ASSIGNED → NEW
Mentor: sriram.mozilla
Whiteboard: [mentor=sriram][lang=java] → [lang=java]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
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: