Closed Bug 1077781 Opened 11 years ago Closed 8 years ago

[dolphin|flame(2.0only)] Insert USB cable after boot-strap completed, screen is always lighting.

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: shiwei.zhang, Unassigned, NeedInfo)

Details

STR: 1. Boot a phone. 2. Wait for the phone to get to sleep (or after screen off five minutes). 3. Insert USB cable. RESULTS: Sreen is tured on immediately. but can NOT be turned off automatically.(sreen timeout is 1 minute)
[Blocking Requested - why for this release]: On version: gaia remote="mozillaorg" revision="5c2303ec4e367da060aa1b807d541a6549b3d72a" upstream="v2.0" gecko remote="mozillaorg" revision="a68af60d0d4b00b5a7e7c1633e2bf3e970463f0d" upstream="v2.0"
blocking-b2g: --- → 2.0?
Dear pcheng, Could you help have a test on flame with v2.0, I think both dolphin and flame have the same issue. Thanks.
Assignee: nobody → pcheng
Flags: needinfo?(pcheng)
I propose the cause is in gaia/apps/system/js/screen_manager.js _reconfigScreenTimeout: function scm_reconfigScreenTimeout() { // Remove idle timer if screen wake lock is acquired or // if no app has been displayed yet. if (this._screenWakeLocked || typeof(AppWindowManager) !== 'object' || !AppWindowManager.getActiveApp()) { "!AppWindowManager.getActiveApp()" is true when USB cable insert, and "this._setIdleTimeout(0)" let screen always lighting.
Summary: [dolphin] Insert USB cable after boot-strap completed, screen is always lighting. → [dolphin(2.0only)] Insert USB cable after boot-strap completed, screen is always lighting.
Hi Shiwei - I cannot reproduce this one on Flame 2.0 build
blocking-b2g: 2.0? → ---
Flags: needinfo?(pcheng)
(In reply to Vance Chen [:vchen][vchen@mozilla.com] from comment #4) > Hi Shiwei - > > I cannot reproduce this one on Flame 2.0 build Hi Vance, Please ensure that don't touch anything when starting up, wait for five minutes and then insert USB cable.
ni on me to double check.
Flags: needinfo?(pcheng)
I reproduced this on Flame V2.0 with following steps, but NOT on V2.1. STR: 0. set screen timeout to "1 minute" and set screen lock 1. reboot device *** DO NOT do anything after startup *** Device stays on lockscreen. 2. Wait for the screen time out *** DO NOT turn it off manually *** 3. Insert USB cable and wait *** DO NOT do anything *** --> You will see screen stays on lockscreen but can NOT be turned off automatically.(sreen timeout is 1 minute) Per the steps, I think this is a minor issue.
Flags: needinfo?(pcheng)
Summary: [dolphin(2.0only)] Insert USB cable after boot-strap completed, screen is always lighting. → [dolphin|flame(2.0only)] Insert USB cable after boot-strap completed, screen is always lighting.
Flags: needinfo?(poirot.alex)
Flags: needinfo?(hanj.kim25)
Is it worth fixing, especially if it happens only on 2.0? Does the screen turns off when you unplug the USB cable?
Flags: needinfo?(poirot.alex)
engineers in sprd don't decide whether some bugs should be fixed or not. we try our best to fix all of them. @shiwei Please answer the question in comment 8 "Does the screen turns off when you unplug the USB cable?"
(In reply to ying.xu from comment #9) > @shiwei > > Please answer the question in comment 8 > "Does the screen turns off when you unplug the USB cable?" No, screen was still lighting.
Assignee: pcheng → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.