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)

defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 fixed)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: ying.xu, Assigned: steveck)

Details

(Keywords: regression)

Attachments

(2 files, 1 external file, 1 obsolete file)

Attached image mainUI.jpg —
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.
Attached image waitingUI.jpg —
hamachi device also has this issue.
Component: General → Gaia::SMS
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)
Attachment #825098 - Flags: review?(schung)
(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?
Yes I can take the review.
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+
Hi James, could you also submit the patch to github? thanks.
Add Jesse, pls pull this patch to github, it's your patch.
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.
(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)?
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.
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
setting the 'threads-no-messages' block background-color has less side effect than setting the body block.
need merge to v1.2
James> not blocking enough for 1.2, let it ride the train quietly to 1.3 :)
It will cause bad user experience :(
I'll check with Vivien if the fix is correct. If it is, we can probably ask approval on a simple patch like this.
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 ?
Sounds good if setting background color to body is ok, maybe we can also remove the list container background color if body is set.
Hi Steven, This bug is still on v1.2 and v1.3.
blocking-b2g: --- → fugu?
blocking-b2g: fugu? → fugu+
I don't get why this bug is fugu specific. That said, Steve, maybe we can move forward here?
blocking-b2g: fugu+ → fugu?
Steve, are you still working on this? We need the fix in fugu's branch.
Flags: needinfo?(schung)
Attached file Link to github —
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)
(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 on attachment 8342200 [details] [review] Link to github r=me fixes the issue for me, thanks!
Attachment #8342200 - Flags: review?(felash) → review+
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 on attachment 8342200 [details] [review] Link to github I'm not giving 1.2 approvals.
Attachment #8342200 - Flags: approval-gaia-v1.2?(fabrice)
Bhavana, please see comment 25 and comment 27.
Flags: needinfo?(bbajaj)
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)
Flags: needinfo?(mozillamarcia.knous)
Flags: needinfo?(jsmith)
I'll put qawanted for someone to check this on 1.1 & 1.2.
Flags: needinfo?(jsmith)
Keywords: qawanted
QA Contact: sparsons
QA: the issue happens only when the SMS db is empty.
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
Please save your time, we don't need a regression window: we already have a fix.
Status: UNCONFIRMED → NEW
Ever confirmed: true
More input from IRC - Sarah mentions this is extremely obvious to see if there are no messages present in the SMS app.
I'll move this to koi? for triage discussion
blocking-b2g: fugu? → koi?
Landed in master: 2b021cd5c14f89582934e25240f3d08b358d1ddb I'll update the uplift status once the triage result confirm, thanks.
koi+ for phone as well
blocking-b2g: koi? → koi+
Julien Does your fix also work for the phone?
Flags: needinfo?(felash)
What do you mean Preeti? All out patches are for the phone ;)
Flags: needinfo?(felash)
Flags: needinfo?(mozillamarcia.knous)
NI John for uplift to v1.2.
Flags: needinfo?(jhford)
Steve koi+ so we should be able to uplift the same.
Flags: needinfo?(schung)
since james.zhang came up with the patch, to james.zhang
Assignee: nobody → james.zhang
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.

Attachment

General

Creator:
Created:
Updated:
Size: