Closed Bug 1207961 Opened 11 years ago Closed 11 years ago

Quick search bar hides behind the VKB when choosing not to display search suggestions

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox42 affected, firefox43+ verified, firefox44+ verified)

VERIFIED FIXED
Firefox 44
Tracking Status
firefox42 --- affected
firefox43 + verified
firefox44 + verified

People

(Reporter: TeoVermesan, Assigned: sergej)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Tested using: Device: LG G4 (Android 5.1); Steps to reproduce: 1. Tap something in the URL Bar 2. Choose "No" for "Would you like to turn on search suggestions?" Expected result: - no additional suggestions are displayed - quick search bar is still displayed above the VKB Actual result: - Quick search bar disappears - VKB remains displayed - Tapping outside to dismiss it, quick search bar is displayed on the middle of the screen - Please take a look at the following video: https://www.youtube.com/watch?v=KQXVOr8a_cU&feature=youtu.be Note: - if you open a new tab and type in the URL Bar, quick search bar is not displayed above the VKB on 44 Nightly and 43 Aurora, but is displayed on 42Beta 1 and 41
Attached patch always reset height (obsolete) — — Splinter Review
Always reset height, not only on enable.
Attachment #8665482 - Flags: review?(michael.l.comella)
Comment on attachment 8665482 [details] [diff] [review] always reset height Review of attachment 8665482 [details] [diff] [review]: ----------------------------------------------------------------- Nice! Works for me! try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c5f371b2560f ::: mobile/android/base/home/BrowserSearch.java @@ +729,5 @@ > mSuggestionsOptInPrompt = null; > > + // Reset the view height > + mView.getLayoutParams().height = LayoutParams.MATCH_PARENT; > + nit: remove excess whitespace.
Attachment #8665482 - Flags: review?(michael.l.comella) → review+
Actually there must be a comment. Two blocks are not related.
Added comment
Attachment #8665482 - Attachment is obsolete: true
Attachment #8667627 - Flags: review?(michael.l.comella)
Comment on attachment 8667627 [details] [diff] [review] always reset height Review of attachment 8667627 [details] [diff] [review]: ----------------------------------------------------------------- Works for me. Just be careful about adding excessive comments – if the code speaks for itself, there is no need to add a comment. If the code doesn't speak for itself, consider rewriting it to do so. :) It's a little harder in this case because of the pre-existing code.
Attachment #8667627 - Flags: review?(michael.l.comella) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Verified as fixed in build 44.0a1 2015-10-09; Device: Motorola Razr (Android 4.4.4).
Sergej, can you flag this for uplift to 43 (aurora)? You can click details next to the uploaded patch, add approval-aurora = ? (or whatever the name is), and complete in the auto-filled comment.
Flags: needinfo?(sergej)
Do I need to fill all info fields (Risks, Bug numbers and etc)? I don't know what to write there.
Flags: needinfo?(sergej) → needinfo?(michael.l.comella)
(In reply to Sergej Kravcenko from comment #11) > Do I need to fill all info fields (Risks, Bug numbers and etc)? I don't know > what to write there. Add a comment on the fields you're not sure how to fill in, NI me, and I'll fill those in.
Flags: needinfo?(michael.l.comella) → needinfo?(sergej)
Comment on attachment 8667627 [details] [diff] [review] always reset height Approval Request Comment [Feature/regressing bug #]: 1207961 [User impact if declined]: Quick search bar will not be visible when user decline search suggestions [Describe test coverage new/current, TreeHerder]: [Risks and why]: [String/UUID change made/needed]:
Flags: needinfo?(sergej) → needinfo?(michael.l.comella)
Attachment #8667627 - Flags: approval-mozilla-aurora?
Tracking since this looks like a regression from the search suggestions feature. 42 should be unaffected since search suggestions is aimed for 43.
(In reply to Sergej Kravcenko from comment #13) > [Describe test coverage new/current, TreeHerder]: Sergej & I tested locally, no tests > [Risks and why]: Low, we choose to do a working piece of code all the time, rather than just under a small subset of conditions. We branch to avoid doing excess work so it'd be fine to do it all the time. > [String/UUID change made/needed]: None
Flags: needinfo?(michael.l.comella)
Comment on attachment 8667627 [details] [diff] [review] always reset height Low risk fix, local testing, ok on m-c. Please uplift to aurora.
Attachment #8667627 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Teo can you verify this on aurora once it lands? Thanks very much!
Flags: qe-verify+
Flags: needinfo?(teodora.vermesan)
After choosing "No" for "Would you like to turn on search suggestions?" the quick search bar is still displayed above the VKB, so: Verified as fixed using: Device: Nexus 6 (Android 5.1.1) Build: Firefox for Android 43.0a2 (2015-10-14)
Flags: needinfo?(teodora.vermesan)
This is also affected on Firefox for Android 42 Beta 8
Status: RESOLVED → VERIFIED
Flags: qe-verify+
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: