Closed Bug 1032104 Opened 10 years ago Closed 7 years ago

Screenshots come out black when the display is powered off.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jujjyl, Unassigned)

Details

1. Connect your FFOS device via USB, make sure ADB and DevTools debugging options are enabled. 2. Run the following commands on the command line: wget https://raw.githubusercontent.com/kripken/emscripten/incoming/tools/ffdb.py chmod +x ffdb.py ./ffdb.py hide-prompt 3. Wait for the phone to reboot. (note: The above permanently sets the pref devtools.debugger.prompt-connection to false on your phone. Call ffdb.py restore-prompt later to permanently undo this step) 4. Once the phone has rebooted, disable the lock screen from settings. 5. Navigate to home menu, and power off the screen. 6. Run the following command on the command line: ./ffdb.py screenshot 7. Open the created .png file Observed: The png file is all black. Expected: The png file should contain a screenshot of what the device was displaying when the screen powered off, or, if it's possible to forcibly animate in a B2G app even when the screen is powered off, then the contents of that render.
Instead of using ffdb.py, the same issue reproduces when using App Manager as well.
You can also take a screenshot of this state by simply pressing power+volume while the screen is off, it'll turn out black as well. Should the screenshot keypress even be on while the screen is off?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.