Closed Bug 966027 Opened 11 years ago Closed 11 years ago

[B2G][Gaia][Homescreen][e.me] Occasionally the Everything.me bar will show a blank search result when nothing has been entered in to the search bar

Categories

(Firefox OS Graveyard :: Gaia::Everything.me, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

RESOLVED FIXED
1.4 S2 (28feb)
blocking-b2g 1.3+
Tracking Status
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: lmauritson, Assigned: aus)

References

Details

(Keywords: regression, Whiteboard: dogfood1.3 [mwcdemo2014][systemsfe][eta:2/19][p=13])

Attachments

(4 files)

Attached image everything.png
Description:
Sometimes the everything.me bar will show below it "Everything" with no search terms after it. Normally it would say "Everything ducks" for example if the user searched for "ducks" but in this case it is though the everything.me bar initiated a search with no criteria.
The favorites star also appears but cannot be selected.

Repro Steps:
1) Update a Buri to BuildID: 20140127004002 and reset the device.
2) As soon as it is visible tap the everything.me bar and then wait.

Actual:
Underneath the everything.me bar which reads "I'm thinking of..." there will be the text "Everything" with no context or search criteria shown.

Expected:
The everything.me bar does not take "nothing" as search criteria. "Everything" is always followed by valid search criteria taken from the text box above.

1.3 Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140127004002
Gaia: 25a45a836a4a21a30f63fa7b544b42e8b781180a
Gecko: c40099a42c1f
Version: 28.0a2
Firmware Version: v1.2-device.cfg


Notes: Sometimes this can be seen more easily after the device has recently been reset to factory settings.
**The issue can occur randomly even when not using the steps above.**

Repro frequency: Roughly 2/10, difficult to repro but can happen at any time.

See attached: Image of issue and logcat of when issue occurred.
Managed to catch it on video
http://youtu.be/YGEk0ht-w3Y
Can we check if this reproduces on 1.1?
Keywords: qawanted
This issue does not occur on Buri v 1.1. 

Environmental Variables:
Device: buri 1.1 com
BuildID: 20140130041201
Gaia: c434fe9a0e823029796805e141cfa983cda2d246
Gecko: 1b24a4178317
Version: 18.0
RIL Version: 01.01.00.019.281
Keywords: qawanted
I can reproduce this on a Buri 1.3 device & TCL Soul device 1.3. Weird - it's like clicking the e.me search bar doesn't work on a first click sometimes.
blocking-b2g: --- → 1.3?
Whiteboard: dogfood1.3 → dogfood1.3 [mwcdemo2014]
QA Contact: mvaughan
Gregor, Jason suggested this may be a SystemsFE bug.  WDYT?
blocking-b2g: 1.3? → 1.3+
Flags: needinfo?(anygregor)
This issue appears to have started reproducing on the 11/23/13 1.3 build.

- Works -
Device: Buri v1.3 MOZ RIL
BuildID: 20131122123502
Gaia: 2cc78d696482e0434b584f5645af55e3105e59a2
Gecko: 3c4fc4279e6a
Version: 28.0a1
Firmware Version: V1.2-device.cfg

- Broken -
Device: Buri v1.3 MOZ RIL
BuildID: 20131123040202
Gaia: e48c2025b97f26db6e23c16d72095143d731b1fa
Gecko: 98aa428a392c
Version: 28.0a1
Firmware Version: V1.2-device.cfg
Aus can you take a look at this blocker?
Assignee: nobody → aus
Flags: needinfo?(anygregor)
Whiteboard: dogfood1.3 [mwcdemo2014] → dogfood1.3 [mwcdemo2014], [systemsfe]
The user impact of this bug of this bug will only impact a first usage of e.me. After you mash the e.me text field to get the keyboard to come up, this won't be reproduced again during phone usage.
Whiteboard: dogfood1.3 [mwcdemo2014], [systemsfe] → dogfood1.3 [mwcdemo2014][systemsfe]
Target Milestone: --- → 1.4 S1 (14feb)
There's only one e.me patch in the regression range - bug 925970.
Spoke with Aus in person about this bug - he mentioned this is a gecko bug, not a gaia bug. Seems to be easier to reproduce on b2g desktop in comparison to on device.
Component: Gaia::Everything.me → General
This appears to be a gecko bug related to forms. 

Timestamp: 2/5/14, 11:14:00 AM
Error: XPCOMUtils is not defined
Source File: chrome://satchel/content/formSubmitListener.js
Line: 15

It's unclear why formSubmitListener.js would be unable to load XPCOMUtils.jsm, however, this is a serious problem. :(
More interesting information -- If you use gecko (master) and gaia (v1.3) this issue is *not* present. If you use gecko (b2g28) and gaia (v1.3) the issue *is* present.
It looks like b2g28 nightly tinderbox build + gaia (v1.3, production build) will work just fine. Was this tested on a production build or not?
Whiteboard: dogfood1.3 [mwcdemo2014][systemsfe] → dogfood1.3 [mwcdemo2014][systemsfe][eta:2/14]
Will revise ETA once I find the root cause.
So, with the right combination of b2g28 + production gaia I'm so far unable to reproduce this. It does reproduce on a debug profile, but, that's not really a good test, unfortunately. Since the debug build has a lot of other issues that crop up which are absolutely never present in a release build.
Bug 960113 is likely to be causing some of the issues as well as satchel attaches itself to every text input field.
Status: NEW → ASSIGNED
Depends on: 960113
I'm going to make a special build that dumps the js stack so that we can at least figure out if that generic JS error is causing some real problems or not. Hopefully that will move this along.
Whiteboard: dogfood1.3 [mwcdemo2014][systemsfe][eta:2/14] → dogfood1.3 [mwcdemo2014][systemsfe][eta:2/14][p=13]
Aus - An idea thrown around in triage is that we should bisect this to find the regressing changeset. That could help identify the root cause of the bug quicker.

What do you think?
Flags: needinfo?(aus)
(In reply to Jason Smith [:jsmith] from comment #21)
> Aus - An idea thrown around in triage is that we should bisect this to find
> the regressing changeset. That could help identify the root cause of the bug
> quicker.
> 
> What do you think?

Thats always a good idea!
It would also help a lot to find out when it started working again. Can we have the reverse regression range?
(In reply to Gregor Wagner [:gwagner] from comment #23)
> It would also help a lot to find out when it started working again. Can we
> have the reverse regression range?

Unfortunately this issue is still reproducing for me on the 02/12/14 1.3 build. 

In order to get this, I attempt the STR and if the bug does not repro, I reboot the device and try again. This allows me to get the bug in about 3 tries.

Device: Buri v1.3 MOZ RIL
BuildID: 20140212004003
Gaia: ce17d5eae7b1893ae4397c814b10ae598fcbdb58
Gecko: ab07e61c2eb0
Version: 28.0
Firmware Version: V1.2-device.cfg
(In reply to Matthew Vaughan from comment #24)
> (In reply to Gregor Wagner [:gwagner] from comment #23)
> > It would also help a lot to find out when it started working again. Can we
> > have the reverse regression range?
> 
> Unfortunately this issue is still reproducing for me on the 02/12/14 1.3
> build. 
> 
> In order to get this, I attempt the STR and if the bug does not repro, I
> reboot the device and try again. This allows me to get the bug in about 3
> tries.
> 
> Device: Buri v1.3 MOZ RIL
> BuildID: 20140212004003
> Gaia: ce17d5eae7b1893ae4397c814b10ae598fcbdb58
> Gecko: ab07e61c2eb0
> Version: 28.0
> Firmware Version: V1.2-device.cfg

That's not what was asked for here - he's asking for a reverse regression window on 1.4, not 1.3.
If the regression window is indeed correct, I have a few more ideas up my sleeve to try out. ETA remains 2/14.
Jason, if we can manage to find when the fix landed on master in gaia (which would be after we branched for v1.3) that would help loads! Right now it's more stabs in the dark than anything else.
Flags: needinfo?(aus)
I am seeing this bug reproduce up to the 01/31/14 1.4 build. It looks like the Rocket Bar was implemented on the 02/01/14 build which changes how the e.me search bar worked and therefore prevents me from properly testing the bug as it is written. 

I am not seeing any problems from 02/01 and on, so I am going to put that build as when it started working again.

Reverse regression window for 1.4...

- Works -
Device: Buri v1.4 MOZ RIL
BuildID: 20140201160201
Gaia: 67f11d9b60750270f0bea834832e8108e95204e8
Gecko: d09f9a9f81ae
Version: 29.0a1
Firmware Version: V1.2-device.cfg

- Broken -
Device: Buri v1.4 MOZ RIL
BuildID: 20140131095418
Gaia: aedd5c9636f305d4433491056a0ca984dfb859b1
Gecko: 735a648bca0d
Version: 29.0a1
Firmware Version: V1.2-device.cfg
Awesome, thanks Matthew.
Target Milestone: 1.4 S1 (14feb) → 1.4 S2 (28feb)
So, the issue here is actually the target area. If your finger is slightly down from the bounds of the input box when you press you will be able to trigger the issue reliably. I can reproduce it at will now. It will only happen once though, because when e.me is loaded, the event will properly load the collection pressed OR focus the search bar. Basically, you need to fat finger the input and you can get it to happen. 

Now that I have reliable STRs and I know what's really happening it shouldn't take long to fix it.
Whiteboard: dogfood1.3 [mwcdemo2014][systemsfe][eta:2/14][p=13] → dogfood1.3 [mwcdemo2014][systemsfe][eta:2/19][p=13]
No longer depends on: 960113
Component: General → Gaia::Everything.me
Attachment #8377880 - Flags: review?(ran) → review?(amirn)
Comment on attachment 8377880 [details] [review]
Pull Request - Also focus search bar when activationIcon is clicked.

Looks good.
Tested only on Nightly since I don't have a device with me on the weekend.

Thanks Aus.
Attachment #8377880 - Flags: review?(amirn) → review+
Amir,

Please fill the below approval form - 

Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: 
[Testing completed]:
[Risk to taking this patch] (and alternatives if risky):
[String changes made]:
Flags: needinfo?(amirn)
Commit: v1.3  https://github.com/mozilla-b2g/gaia/commit/e631e7707a25af6310674f325131569cda61de6e
Commit: v1.3t https://github.com/mozilla-b2g/gaia/commit/af29153a7f3b45e7a22e8eed13f7fe416057ac02

[Approval Request Comment] 
[Bug caused by] (feature/regressing bug #): Bug 925970 https://bugzilla.mozilla.org/show_bug.cgi?id=925970
[User impact] if declined: This bug still occurs as described in the description and comment #30.
[Testing completed]: Based on updated STRs (See comment #30, https://bugzilla.mozilla.org/show_bug.cgi?id=966027#c30)
[Risk to taking this patch] (and alternatives if risky): None.
[String changes made]: None.
Flags: needinfo?(amirn)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to Ghislain Aus Lacroix [:aus] from comment #35)

The point of going through the approval process is that patches are *NOT* to land until they are. Please revert.
Flags: needinfo?(aus)
Also, only 1.3T blockers should be directly landing on that branch. Everything else is being merged from v1.3 to v1.3t.
Comment on attachment 8377880 [details] [review]
Pull Request - Also focus search bar when activationIcon is clicked.

Description above.
Attachment #8377880 - Flags: approval-gaia-v1.3?
Reverted:
v1.3:  ffded319215ffe228fa6cbf1af221c4c0526b667
v1.3t: 1fb25d48fc75e1f022c3460690cc2acf7854aae4
Flags: needinfo?(aus)
Attachment #8377880 - Flags: approval-gaia-v1.3? → approval-gaia-v1.3+
Hey Ryan,

Any ideas on how to deal with this now that it has 1.3 approval?
Flags: needinfo?(ryanvm)
I reverted comment 39 and cleaned up the commit message. This will get to 1.3t via the regular merge process and doesn't need to be explicity double-landed.

1.3: 4b66307ce03a9842a587758ac1a4a12244c05c1e
Flags: needinfo?(ryanvm)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: