Closed Bug 890753 Opened 11 years ago Closed 11 years ago

[System] Homescreen is not displayed when SMS notification from lockscreen is touched.

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
major

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
1.1 QE4 (15jul)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: leo.bugzilla.gaia, Assigned: alive)

Details

(Whiteboard: [TD-58695] [LeoVB+])

Attachments

(2 files)

Attached video Repro video
Description: Homescreen is not displayed when SMS notification from lockscreen is touched.
Expected: Homescreen is displayed when home button is pressed.
Gaia revision: f2d6ed54a236e6e3b94f0abad9f0dacb8a1cc7b3
Personal email id:  hanj.kim25@gmail.com
Frequency rate: 100%


Repro steps:

1. Press power button to screen-off from homescreen. (It has to be from 'homescreen')
2. Use 2nd phone to send sms to 1st phone.
3. Touch the notification on top of lockscreen.
4. Unlock the lockscreen. Then sms app will launch.
5. Press home button and observe it displays only the homescreen background image.

After pressing power button to screen-off and screen-on, it becomes normal.
Please note that it does not reproduce if the step #1 starts from any app, other than homescreen.
blocking-b2g: --- → leo+
Flags: needinfo?(alive)
Whiteboard: [TD-58695]
Target Milestone: --- → 1.1 QE4 (15jul)
Bad, taken.
Assignee: nobody → alive
Flags: needinfo?(alive)
Hmm, I fixed it but I don't know why the original code doesn't work...lemme investigate more.
Comment on attachment 771907 [details]
https://github.com/mozilla-b2g/gaia/pull/10824

Root cause:
Homescreen visibility is turned off via AppWindow.setVisible(),
however, click notification on lockscreen would open the SMS app on top of homescreen,
when the sms app is closed, this time visibility isn't turned on by AppWindow.setVisible thus the hidden class is not removed.
Attachment #771907 - Flags: review?(timdream)
Attachment #771907 - Flags: review?(timdream) → review+
master

https://github.com/mozilla-b2g/gaia/commit/00e47a4028ec962a29faa02e73460643e6a03ea3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to Alive Kuo [:alive] from comment #4)
> master
> 
> https://github.com/mozilla-b2g/gaia/commit/
> 00e47a4028ec962a29faa02e73460643e6a03ea3

Uplift to v1-train? Thanks!
Flags: needinfo?(alive)
John ford would do that uplift I think.
Flags: needinfo?(alive)
Uplifted 00e47a4028ec962a29faa02e73460643e6a03ea3 to:
v1-train: 04338f588769f0b0235e02994041bf9335f8cb8d
Whiteboard: [TD-58695] → [TD-58695] [LeoVB+]
v1.1.0hd: 04338f588769f0b0235e02994041bf9335f8cb8d
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: