Closed
Bug 1159360
Opened 10 years ago
Closed 9 years ago
Search engine bar does not appear above keyboard on GB
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox42 unaffected, firefox43+ wontfix, firefox44 unaffected, fennec-)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox42 | --- | unaffected |
firefox43 | + | wontfix |
firefox44 | --- | unaffected |
fennec | - | --- |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
(Keywords: regression)
Attachments
(1 file)
3.14 KB,
text/plain
|
Details |
Apparently, before the final commit in bug 1137483 (adding a window background), the search engine bar moved above the keyboard in GB. Odd.
Assignee | ||
Comment 1•10 years ago
|
||
Apparently, this only happens sometimes. :| It appears the keyboard when the app is first started but I can't find the condition that makes this change.
Assignee | ||
Comment 2•10 years ago
|
||
Watching the:
05-07 13:59:36.470 D/GeckoLayerClient( 3150): Window-size changed to (480,762)
logcat output, it seems when it is working correctly, the window size shrinks when the keyboard is shown and grows when the keyboard is hidden. When it is working incorrectly, when I click the EditText, the window shrinks but when I type, the window grows.
My best guess is that the touch events are going through the keyboard to the underlying Views (i.e. HomePager), which causes an inconsitent state where the keyboard is still up but the window is resized as if it dropped.
This is backed up by the fact that when I paste text into the EditText and click into the text, raising the keyboard, the search bar is above the keyboard. Typing into the field here keeps the search bar above the keyboard. Deleting all of the text (showing the HomePager) and typing again will put the search bar below the keyboard.
Assignee | ||
Comment 3•10 years ago
|
||
Downloaded a 39 build and it seems the window shrinks when the keyboard is shown but grows when it hides - this is the opposite of the desired former behavior so it seems this issue was pre-existing. Perhaps Android is using the "stateUnspecified" flag rather than "adjustResize"?
Assignee | ||
Comment 4•10 years ago
|
||
I backed out all the changesets from bug 1137483 and it seems the non-resize problem is still happening. Apparently something changed between trunk and 39 that causes this not to work. Time to do some Nightly regression hunting.
Assignee | ||
Comment 5•10 years ago
|
||
The issue does not appear on the build from 4/24 [1] but appears on the build from 4/25 [2]:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=22a157f7feb7&tochange=f214df6ac75f
[1]: ftp://ftp.mozilla.org/pub/mobile/nightly/2015-04-24-03-02-04-mozilla-central-android-api-9/
[2]: ftp://ftp.mozilla.org/pub/mobile/nightly/2015-04-25-03-02-08-mozilla-central-android-api-9/
Assignee | ||
Comment 6•10 years ago
|
||
I backed out bug 1157534 [1] and it mostly works correctly (and may actually be the previous behavior): when you initially hit the EditText and type, the window expands. However, closing and reopening the keyboard will fix this behavior.
I have no idea why the patch in bug 1157534 would affect this code at all. o_o
[1]: https://hg.mozilla.org/mozilla-central/rev/549be4ee6dca
See Also: → 1157534
Assignee | ||
Comment 8•9 years ago
|
||
Tracking data from bug 1221082.
status-firefox43:
--- → affected
status-firefox44:
--- → unaffected
Assignee | ||
Comment 9•9 years ago
|
||
Assignee | ||
Comment 10•9 years ago
|
||
I'm trying to figure out what changed from 43 to 44 and how this could have gotten fixed.
Most of the changes from comment 9 are actually in 43 and there is nothing super obvious. I wonder if a change like bug 1206628 could have fixed it, where it can re-layout the search engine bar after the keyboard is shown.
Assignee | ||
Comment 11•9 years ago
|
||
Try pushes to follow because I need to rip up my mozconfigs to get beta to build so try is easier.
Assignee | ||
Comment 12•9 years ago
|
||
Assignee | ||
Comment 13•9 years ago
|
||
We'll track 43 for now, unless I decide it's not worth pursuing.
Assignee: nobody → michael.l.comella
tracking-fennec: --- → 43+
Assignee | ||
Comment 14•9 years ago
|
||
Rebasing bug 1206628 did not fix this.
Assignee | ||
Comment 15•9 years ago
|
||
The changes cascading from bug 1186683 were pretty drastic and landed in 44+ – perhaps it's related to one of them? There were also the search suggestion changes (local search history) but I doubt that's related.
Assignee | ||
Comment 16•9 years ago
|
||
After looking at the remaining changesets from comment 9, I think bug 1186683 and its follow-ups are to blame. Let's see if there's anything to take away from them.
Assignee | ||
Comment 17•9 years ago
|
||
Assignee | ||
Comment 18•9 years ago
|
||
Bug 1186683 doesn't seem to fix it and I already tested bug 1206628 (which depends on the former).
Comment 19•9 years ago
|
||
Tracking for 43 since this sounds like a recent regression.
Assignee | ||
Comment 20•9 years ago
|
||
The solution is non-obvious and it's fixed in the next version – I don't think this is worth the time to fix.
Status: NEW → RESOLVED
tracking-fennec: 43+ → -
Closed: 9 years ago
Resolution: --- → WONTFIX
Comment 21•9 years ago
|
||
Makes sense. Thanks Michael. Marking wontfix.
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
•