Inline Activities opened from System app (e.g. quick-settings WiFi button) lead to confusing Task Manager experience.

NEW
Unassigned

Status

Firefox OS
Gaia::System::Window Mgmt
2 years ago
2 years ago

People

(Reporter: MaxIvanov, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v2.2 unaffected, b2g-master affected)

Details

(Whiteboard: [2.5-Daily-Testing][Spark], URL)

(Reporter)

Description

2 years ago
Description:
After turning WiFi off/on through Notification drawer Browser and Setting cards are overlapped in Task Manager.

Repro Steps:
1) Update a Aries to 20151016122951
2) Open the Browser app and navigate youtube.com
3) Start streaming any video clip
4) Open the Notification drawer and turn WiFi off
5) Turn WiFi on and wait until setting page is opened
6) Tap and hold the Home Button to open Task Manager
7) Observe the Settings card 

Actual:
Browser and Setting cards are overlapped

Expected:
App cards in the Task Manager shouldn't be overlapped 

Environmental Variables:
Device: Aries Master
Build ID: 20151016122951
Gaia: 8999f0ba6326d815c8366e3c1155b7e4e9763b40
Gecko: ccf288f658211b6cfab33c458aaf033baed2375b
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (Master)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Repro frequency: (100%)
See attached: (video clip, logcat)
https://youtu.be/9bmUkkrMQgk
(Reporter)

Comment 1

2 years ago
This does not occur neither on Flame 2.5 nor Flame 2.2

Device: Aries Master (Full Flash)(KK)(319mb)
Build ID: 20151016122951
Gaia: 8999f0ba6326d815c8366e3c1155b7e4e9763b40
Gecko: ccf288f658211b6cfab33c458aaf033baed2375b
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (Master)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
----------------------------------------------------------------------

Device: Flame 2.2 (Full Flash)(KK)(319mb)
Build ID: 20151006032504
Gaia: 5dd95cfb9f1d6501ce0e34414596ef3dd9c2f583
Gecko: fc588eb28eab
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 37.0 (2.2)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage?]
status-b2g-v2.2: --- → unaffected
status-b2g-master: --- → affected
Flags: needinfo?(ktucker)
Summary: Browser and Setting cards are overlapped in Task Manager → [Aries]Browser and Setting cards are overlapped in Task Manager
Whiteboard: [2.5-Daily-Testing][Spark]
This is understandably confusing. Here's what's going on:

1. The WiFi button opens Settings in an inline activity from the System app, which means Settings doesn't show an active window in the Task Manager.

2. When entering the task manager, "mozbrowseractivitydone" is dispatched, killing the activity -- but not before the screenshot has been taken. The "settings" activity is already gone, but the screenshot makes it look like the activity is on top of the most recent app (browser in this case).

We probably shouldn't open inline activities from within the system app... or, if that's something we want to support, we'll need to think more about the lifecycle of the activity.
Component: Gaia::System::Task Manager → Gaia::System::Window Mgmt
Summary: [Aries]Browser and Setting cards are overlapped in Task Manager → Inline Activities opened from System app (e.g. quick-settings WiFi button) lead to confusing Task Manager experience.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)

Updated

2 years ago
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][Low_QA]
You need to log in before you can comment on or make changes to this bug.