Closed
Bug 873365
Opened 12 years ago
Closed 12 years ago
[Cost Control]The FTE screen fires or moves fastly.
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect, P2)
Tracking
(blocking-b2g:leo+, b2g18? fixed)
People
(Reporter: leo.bugzilla.gaia, Assigned: salva)
References
()
Details
(Whiteboard: [TD-26378])
Attachments
(3 files)
|
389.40 KB,
application/x-7z-compressed
|
Details | |
|
2.61 KB,
patch
|
salva
:
review-
|
Details | Diff | Splinter Review |
|
358 bytes,
patch
|
salva
:
review+
|
Details | Diff | Splinter Review |
1. Title : The FTE screen fires or moves fastly.
2. Precondition :
3. Tester's Action : Insert non configured SIM card and click on Usage app.
4. Detailed Symptom (ENG.) :The Welcome screen will show the screen with "Information shown on Usage comes directly..." paragraph first and again it will show the "Save money by keeping.." paragaph along with "Information shown on Usage comeas directly..." paragraph.
Due to which user may feel loss of information due fast movement of scrrens.
6.Reproducibility: Y
1)Frequency Rate : 100%\
7.Gaia Master/v1-train : Reproduced
8.Gaia Revision: e882f5d6649ad22dbe0f8e8e8726c84cce2a2d4d
9.Personal email id: vsireesha246@gmail.com
| Assignee | ||
Comment 2•12 years ago
|
||
There is no movement between screens, the problem is the bold paragraph is dynamically added so it produces a minor reflow.
Assignee: nobody → salva
tracking-b2g18:
--- → ?
I changed the bold paragraph to show statically instead of adding dynamically,but still the problem exist, showing the black screen.
| Assignee | ||
Comment 4•12 years ago
|
||
The black screen is normal since you are loading first the application and it have a black neutral screen to hide the UI changes until all is ready (bug 828155). Then the application realizes the FTE should show so it change to that URL. This produces a flash to a blank page (a white screen) that is filled.
You are noticing a change because, if you don't complete the FTE, then Gaia stores a screenshot of the first screen of FTE. As Gaia is not aware about what's happening inside the application, it first shows the screenshot, then the app displays the black-screen, now change to the first page of the FTE.
We can do something like showing another neutral screen, but little more.
The bug is nominated for tracking but it is not a priority.
Updated•12 years ago
|
Target Milestone: --- → 1.1 QE2
Hi Salva,
In Master and Leo/V1train we did small below workaround for this issue.
1.While launching the fte.html,we are able to send the application mode.(Ex:datausage)
2.Once we get the mode i changed the bold paragarph to visible.
With the above changes
In Master:The flashing is not present.
In Leo/V1train:The Fte screen is shown and Black screen and after that again Fte screen.
| Assignee | ||
Comment 6•12 years ago
|
||
You're right, why don't you propose a patch for review? Maybe I can try with Vivo a tweak your patch to add the not DATA_USAGE_ONLY functionality. Anyway, in progress changes will change the way we are detecting current application mode.
I made the changes for both Vivo and Non-Vivo.
Please review and let me know if i need to modify anything.
Attachment #755307 -
Flags: review?(salva)
| Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 755307 [details] [diff] [review]
Patch for review
Sireesha, the new behavior works perfectly. I have some comments about the code, so make this patch a PR in order to follow the contribution guidelines [1] and I will grant you the r+.
Smart work!
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking#Submitting_a_patch
Attachment #755307 -
Flags: review?(salva) → review-
Attachment #756396 -
Flags: review?(salva)
| Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Review comments in GitHub.
Attachment #756396 -
Flags: review?(salva) → review-
| Reporter | ||
Comment 11•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Hi Salva,
I squashed the review changes.But the build failed again.
if this fail is due to my commit please let me know.
And i did make lint and removed lint errors manually.
Thanks for your support.
Attachment #756396 -
Flags: review- → review?(salva)
| Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Check comments in GitHub,
| Reporter | ||
Comment 13•12 years ago
|
||
Hi Salva,
I renamed the function.Please check it.
| Reporter | ||
Comment 14•12 years ago
|
||
Hi Salva,
This bug depends on Bug-866174 and patch is not uplifted to V1train and there is no project flag for this issue(Bug-866174).
So,would you please uplift bug 866174 patch to V1train.
| Assignee | ||
Comment 15•12 years ago
|
||
This bug should not depend on bug 866174 at code level because that bug does not modify Usage code. Furthermore, I have no authority to uplift bugs if I'm not asked for and that bug is not even flagged to uplift to v1.1.
Once you get the r+ for this bug (I need to pass the tests manually as Travis is failing for some reason), let's try to land this and only ask to land other blockers if we find any impediment.
| Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Tests are not passing. The following errors are provided:
Error: Please, getApplicationMode() is being called. Provide the key `applicationMode` in the constructor config object to mock it.
This is because now, as you call getApplicationMode() starting the FTE, you need to provide a mockup. Review the unit tests to update them according the new needs.
The code looks good now!
Attachment #756396 -
Flags: review?(salva) → review-
| Reporter | ||
Comment 17•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Hi Salva,
Please review the testcase.
Thanks for your support.
Attachment #756396 -
Flags: review- → review?(salva)
| Assignee | ||
Comment 18•12 years ago
|
||
Comment on attachment 756396 [details] [diff] [review]
Pointer to Pull Request: https://github.com/mozilla-b2g/gaia/pull/10125
Perfect. Code looks clear, tests run smoothly.
Good work Sireesha!
Thank you.
Attachment #756396 -
Flags: review?(salva) → review+
| Assignee | ||
Comment 19•12 years ago
|
||
Master: fe089acc9b6156470355a5e1b0ff8eac76ce2dfb
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 20•12 years ago
|
||
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with:
git checkout v1-train
git cherry-pick -x -m1 fe089acc9b6156470355a5e1b0ff8eac76ce2dfb
<RESOLVE MERGE CONFLICTS>
git commit
Flags: needinfo?(salva)
| Assignee | ||
Comment 21•12 years ago
|
||
After uplifting bug 846258, this applies cleanly:
v1-train: a5ca81e9566bd4db8fc55a74cad9063166e8c00d
status-b2g18:
--- → fixed
Flags: needinfo?(salva)
Updated•12 years ago
|
Flags: in-moztrap?
QA Contact: amiller
You need to log in
before you can comment on or make changes to this bug.
Description
•