Closed Bug 1129059 Opened 9 years ago Closed 9 years ago

[Marketplace] Attempting to sign into a profile will break Search functionality

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5?, b2g-v2.2 unaffected, b2g-master affected)

RESOLVED DUPLICATE of bug 1129526
blocking-b2g 2.5?
Tracking Status
b2g-v2.2 --- unaffected
b2g-master --- affected

People

(Reporter: onelson, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [3.0-Daily-Testing])

Attachments

(1 file)

Description:
When a user attempts to sign into a profile, they will observe that searching will be broken afterwards. The cause appears to stem from a secondary page opening within the Marketplace app, as the user does not have to conclude the sign in process, rather tap 'Sign In' and then close the window: tapping the 'Search' bar at the top will confirm the issue has begun and focus will not transition.
The search bar can also be broken if a user begins downloading an app (not recorded). Tapping search does not bring focus. This appears to demonstrate the issue as a seperate window claiming focus from Marketplace, and not returning it properly: albeit no input text fields are available on this window.

Repro Steps:
1) Update a Flame to 20150203055641
2) Open the 'Marketplace' app.
3) Tap 'Search' and observe functionality. ** Expected
4) Tap the 'Gear' icon for options/settings.
5) Tap 'Sign In'.
6) Tap the 'X' in the top left corner.
7) Tap 'Search' and observe functionality. ** Actual

Actual:
The search field does not receive focus and user may not search until the app is reopened.

Expected:
The search field receives focus and the keyboard is displayed.

Environmental Variables:
--------------------------------------------------
Device: Flame 3.0
Build ID: 20150203055641
Gaia: ae5a1580da948c3b9f93528146b007fc4f6a712b
Gecko: ae5d04409cd9
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0

*********************************************

This issue DOES NOT REPRO on flame 2.2 devices:
Results: The search field receives focus and the keyboard is displayed.

Device: Flame 2.2
BuildID: 20150203002504
Gaia: cd62ff9fe199fb43920ba27bd5fdbc5c311016fc
Gecko: 11d93135c678
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 37.0a2 (2.2) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
--------------------------------------------------

Repro frequency: 5/5
See attached: 
video- http://youtu.be/m6P1UtXBJCg 
logcat
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: regression
Whiteboard: [3.0-Daily-Testing]
[Blocking Requested - why for this release]:
Functional regression of a core feature.

Requesting a window.
blocking-b2g: --- → 3.0?
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
QA Contact: pcheng
mozilla-inbound regression window:

Last Working Environmental Variables:
Device: Flame
BuildID: 20150201170935
Gaia: 740c7c2330d08eb9298597e0455f53d4619bbc1a
Gecko: 231a8c61b49f
Version: 38.0a1 (3.0 Master)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0

First Broken Environmental Variables:
Device: Flame
BuildID: 20150201174135
Gaia: 740c7c2330d08eb9298597e0455f53d4619bbc1a
Gecko: bcefc7d8d885
Version: 38.0a1 (3.0 Master)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0

Gaia is the same so it's a Gecko issue.

Gecko pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=231a8c61b49f&tochange=bcefc7d8d885

Caused by Bug 950934.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Botond, can you take a look at this please. This might have been caused by the work done on bug 950934.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(botond)
I'm able to repro the issue, looking into it.
Hmm, the tap makes it to TabChild dispatching the synthesized mouse events for it [1]. Not sure what goes wrong from there on...

[1] http://mxr.mozilla.org/mozilla-central/source/gfx/layers/apz/util/APZCCallbackHelper.cpp?rev=c36a026244de#387
I can confirm that backing out bug 950934 fixes the problem. Still not sure why.
The patch in bug 1129526 seems to fix this, suggesting that it's the same issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(botond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: