Closed Bug 1144126 Opened 9 years ago Closed 9 years ago

Log utility tray events behind a pref to debug status bar freezing

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gmarty, Assigned: gmarty)

References

Details

(Whiteboard: [systemsfe])

Attachments

(2 files)

To fix the problem of the status bar freezing under random circumstances, we'll do the following:

* Log detais to the SD card such as:
  * The utility tray opening/closing events
  * The value of StatusBar._paused
  * Anything we can think of and that can be related to this issue
* This log will be enable via a pref
* Tell dogfooder to activate this setting
Whiteboard: [systemsfe]
Blocks: 1139470
FWIW I added such logs in my dogfooding 2.1 build but couldn't reproduce since I'm back next to a computer.
On hold till the patch for Bug 1139470 lands.
Assignee: nobody → gmarty
Guillaume, can we finish this off? It looks like bug 1154635 is still happening even after our latest statusbar sync fix, so we should get the logs on the person's device who can reproduce this.
Flags: needinfo?(gmarty)
Since blocking bug 1154635 which is a 2.2 blocker, nom tihs one, too.
Blocks: 1154635
blocking-b2g: --- → 2.2?
Let's wait for a few days after Bug 1154800 lands and see if working on this bug is still needed.
Flags: needinfo?(gmarty)
Not blocking. Request uplift approval if needed to fix dependent bug.
blocking-b2g: 2.2? → ---
Attached file Github PR
This patch logs interesting events and values when enabled.
To enable it, create a new settings called `statusbar.log-events.enabled` and set it to true.

When deactivated, it should not impact performance.
Attachment #8604671 - Flags: review?(etienne)
Comment on attachment 8604671 [details] [review]
Github PR

sounds good, r=me minus the file header change

2 suggestions:
- please contribute any idea on how to generalize this to https://groups.google.com/forum/#!topic/mozilla.dev.gaia/5gfXlJUhWJo

- if this is aimed at dogfooders we should add a way to turn on the setting in the developer settings pane (there's already a "Debug" category).

Cheers!
Attachment #8604671 - Flags: review?(etienne) → review+
With the revamp of the status bar in 2.5, this patch is not used anymore. Let's close this bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: