Closed Bug 1078193 Opened 5 years ago Closed 5 years ago

homescreenwindowmanager gets webapp-launch event after appwindowfactory

Categories

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

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S7 (24Oct)

People

(Reporter: johnhu, Assigned: johnhu)

References

Details

(Whiteboard: [ft:conndevices])

Attachments

(1 file)

In Bug #1076613, we create a homescreenwindowmanager which handles all homescreen related behaviors of appwindowmanager. When 'webapp-launch' fired, homescreenwindowmanager should get this event before appwindowfactory because we want to filter out the launch event of homescreen app.

But the webapps-launch is dispatched to window object where we cannot use capture mode to get the event before appwindowfactory. So, we need to change the position to start homescreenwindowmanager
Assignee: nobody → im
Alive,

This patch tries to start the HomescreenWindowManager at the earliest place.
Attachment #8500335 - Flags: review?(alive)
Comment on attachment 8500335 [details] [review]
move to earlier place to initialize homescreen window manager

r=me
Attachment #8500335 - Flags: review?(alive) → review+
merged to master:
https://github.com/mozilla-b2g/gaia/commit/88120c4c2c2ee94a413e398d62f39fec7f3ff143
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
change the milestone for tracking the issues related to connected device.
Target Milestone: --- → 2.1 S7 (24Oct)
Whiteboard: [ft:conndevices]
You need to log in before you can comment on or make changes to this bug.