Closed
Bug 929317
Opened 13 years ago
Closed 12 years ago
[fugu][other]Waiting UI was flicked again then disappeared after the Messages main UI was displayed when the SMS app was lunched with new process.
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Firefox OS Graveyard
Gaia::SMS
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: ying.xu, Assigned: steveck)
Details
(Keywords: regression)
Attachments
(2 files, 1 external file, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17
Steps to reproduce:
Make sure the SMS app was not running on the background.
Then lunching the SMS app.
Actual results:
we see waiting UI flickered.
Comment 2•13 years ago
|
||
hamachi device also has this issue.
Updated•13 years ago
|
Component: General → Gaia::SMS
Comment 3•13 years ago
|
||
Attachment #825098 -
Flags: review?(jsmith)
Comment 4•13 years ago
|
||
Comment on attachment 825098 [details] [diff] [review]
gaia_bug_929317_sms_no_message_display_error.patch
I'm not the right person to review this patch.
Attachment #825098 -
Flags: review?(jsmith)
Updated•13 years ago
|
Attachment #825098 -
Flags: review?(schung)
Comment 5•13 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #4)
> Comment on attachment 825098 [details] [diff] [review]
> gaia_bug_929317_sms_no_message_display_error.patch
>
> I'm not the right person to review this patch.
Is steveck-chung the right person?
| Assignee | ||
Comment 6•13 years ago
|
||
Yes I can take the review.
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 825098 [details] [diff] [review]
gaia_bug_929317_sms_no_message_display_error.patch
Review of attachment 825098 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the quick css fix!
Attachment #825098 -
Flags: review?(schung) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Hi James, could you also submit the patch to github? thanks.
Comment 9•13 years ago
|
||
Add Jesse, pls pull this patch to github, it's your patch.
Comment 10•13 years ago
|
||
I may be wrong, but I think we removed all background colors from body for some reason. I don't remember the reason but it might be a good idea to do some archeology.
| Assignee | ||
Comment 11•13 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #10)
> I may be wrong, but I think we removed all background colors from body for
> some reason. I don't remember the reason but it might be a good idea to do
> some archeology.
hmm... it's hard to trace removed lined from blame.Just glance the history for a little bit but it seems not exist for a long time, and it's also not existed in the borja's first version. Our view-body container does not have background-color now. If we show/hide the no-message block correctly, is there any possible side effect for setting the background-color to this block(like performance issue)?
Comment 12•13 years ago
|
||
I think we removed them from body{} and not from individual elements. I also think that setting background-colors is usually a good thing :)
Maybe you can try to ask :alive if he's still around in the office, otherwise I can ask Vivien on my side.
Comment 13•13 years ago
|
||
I have test the case "show/hide the no-message block correctly" by swap the two lines:
ThreadListUI.noMessages.classList[removeWhenEmpty]('hide');
ThreadListUI.container.classList[addWhenEmpty]('hide');
But the issue is still there.
I think the quick fix is setting body or the 'threads-no-messages' block white background-color.
Feel free to merge the patch.
https://github.com/mozilla-b2g/gaia/pull/13254
Comment 14•13 years ago
|
||
setting the 'threads-no-messages' block background-color has less side effect than setting the body block.
Comment 15•13 years ago
|
||
need merge to v1.2
Comment 16•13 years ago
|
||
James> not blocking enough for 1.2, let it ride the train quietly to 1.3 :)
Comment 17•13 years ago
|
||
It will cause bad user experience :(
Comment 18•13 years ago
|
||
I'll check with Vivien if the fix is correct. If it is, we can probably ask approval on a simple patch like this.
Comment 19•13 years ago
|
||
So, I asked Vivien, and he said we can probably add the background color back, so let's move forward here.
That said, if the user has messages, then "threads-no-messages" is not displayed and the other panel is displayed, so maybe it's better to set the background on the body block instead ?
| Assignee | ||
Comment 20•13 years ago
|
||
Sounds good if setting background color to body is ok, maybe we can also remove the list container background color if body is set.
Updated•12 years ago
|
blocking-b2g: fugu? → fugu+
Comment 22•12 years ago
|
||
I don't get why this bug is fugu specific.
That said, Steve, maybe we can move forward here?
blocking-b2g: fugu+ → fugu?
Comment 23•12 years ago
|
||
Steve, are you still working on this? We need the fix in fugu's branch.
Flags: needinfo?(schung)
| Assignee | ||
Comment 24•12 years ago
|
||
Hi Julien, I add the background color per your comment, feel free to ping me if you have any concern about this changes, thanks.
Attachment #825098 -
Attachment is obsolete: true
Attachment #8342200 -
Flags: review?(felash)
Flags: needinfo?(schung)
Comment 25•12 years ago
|
||
(In reply to Steven Yang [:styang] from comment #23)
> Steve, are you still working on this? We need the fix in fugu's branch.
It's common issue, it's better in v1.2 branch.
Comment 26•12 years ago
|
||
Comment on attachment 8342200 [details] [review]
Link to github
r=me
fixes the issue for me, thanks!
Attachment #8342200 -
Flags: review?(felash) → review+
Comment 27•12 years ago
|
||
Comment on attachment 8342200 [details] [review]
Link to github
Fabrice, do you think we could have this simple yet effective fix in 1.2?
NOTE: 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: There is a black flicker when the SMS loads with an empty database (so it's the first user impression, which is important)
[Testing completed]: yes
[Risk to taking this patch] (and alternatives if risky): very safe
[String changes made]: none
Attachment #8342200 -
Flags: approval-gaia-v1.2?(fabrice)
Comment 28•12 years ago
|
||
Comment on attachment 8342200 [details] [review]
Link to github
I'm not giving 1.2 approvals.
Attachment #8342200 -
Flags: approval-gaia-v1.2?(fabrice)
Comment 30•12 years ago
|
||
Hi Julien,
I have requested QA(marcia, jsmith) to help understand if the problem is obvious enough on 1.2 branch based on their daily testing experince in which case we can block/consider uplift given how simple the change is.
Marcia/:jsmith, please also let us know if this is a 1.2 specific regression.
Flags: needinfo?(bbajaj)
Updated•12 years ago
|
Flags: needinfo?(mozillamarcia.knous)
Flags: needinfo?(jsmith)
Comment 31•12 years ago
|
||
I'll put qawanted for someone to check this on 1.1 & 1.2.
Flags: needinfo?(jsmith)
Keywords: qawanted
Updated•12 years ago
|
QA Contact: sparsons
Comment 32•12 years ago
|
||
QA: the issue happens only when the SMS db is empty.
Comment 33•12 years ago
|
||
This issue also repro's on Buri 1.2 Build ID: 20131204004003
Gaia 8d762f3376318fd6be390432db750ae4904c9ab6
SourceStamp 758f3fb32dda
BuildID 20131204004003
Version 26.0
But does not on Leo 1.1 Build ID: 20131203041431
Gaia 19c9ff3a46a4389e40253c97b359763243af4531
SourceStamp 617eb9d9bcc2
BuildID 20131203041431
Version 18.0
Comment 34•12 years ago
|
||
Please save your time, we don't need a regression window: we already have a fix.
Keywords: regressionwindow-wanted
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 35•12 years ago
|
||
More input from IRC - Sarah mentions this is extremely obvious to see if there are no messages present in the SMS app.
| Assignee | ||
Comment 37•12 years ago
|
||
Landed in master: 2b021cd5c14f89582934e25240f3d08b358d1ddb
I'll update the uplift status once the triage result confirm, thanks.
| Assignee | ||
Updated•12 years ago
|
status-b2g-v1.2:
--- → affected
Comment 40•12 years ago
|
||
What do you mean Preeti? All out patches are for the phone ;)
Flags: needinfo?(felash)
Updated•12 years ago
|
Flags: needinfo?(mozillamarcia.knous)
Comment 42•12 years ago
|
||
Steve
koi+ so we should be able to uplift the same.
Flags: needinfo?(schung)
Comment 43•12 years ago
|
||
since james.zhang came up with the patch, to james.zhang
Assignee: nobody → james.zhang
| Assignee | ||
Comment 44•12 years ago
|
||
ok, I uplifted to v1.2: d48df33cbdae2063f12b09e3dca07ff7a2f2a3cc
Assignee: james.zhang → schung
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(schung)
Flags: needinfo?(jhford)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•