Closed Bug 853756 Opened 12 years ago Closed 12 years ago

[Buri][WIFI]The icon display wrong after connected to AP

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: sync-1, Assigned: etienne)

Details

Attachments

(3 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #424482 +++ DEFECT DESCRIPTION: The icon display wrong after connected to AP REPRODUCING PROCEDURES: 1.turn on Wi-Fi,and connect to AP 2.In the process of connecting to AP,the icon flow,but after connect to AP successfully,sometimes the icon also flow,sometimes the icon is normally->KO EXPECTED BEHAVIOUR: the icon should display normally when connect to AP successfully ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE:2/5 For FT PR, Please list reference mobile's behavior: AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.19.037 Firefox os v1.0.1 Mozilla build ID: 20130310070203. ++++++++++ end of initial bug #424482 description ++++++++++ CONTACT INFO (Name,Phone number): DEFECT DESCRIPTION: REPRODUCING PROCEDURES: EXPECTED BEHAVIOUR: ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Created an attachment (id=375709) pics
Attached image pics
Created an attachment (id=375709) pics
Created an attachment (id=375711) pics
Attached image pics
Created an attachment (id=375711) pics
hi, This issue is caused by wifi 'icon.dataset.connecting'. When wifi status is 'connected', but signal level = 0, and now 'icon.dataset.connecting = true'. This situation equals the CSS which show connecting icon other than level = 0 icon . Just add 'delete icon.dataset.connecting' if 'icon.dataset.connecting == true' in connected code.
Attachment #736654 - Flags: review?(etienne)
But,some other issue should be solved too. That is why the connected wifi's signal level equals 0. It seems that the wifi signalStrength has a mistake. This issue always reproduce when restart the phone. As I found the log follow: The system app (statusbar) LOG: I/Gecko ( 144): getConnectionInformation info.signalStrength = -96 I/Gecko ( 144): getConnectionInformation info.relSignalStrength = 8 E/GeckoConsole( 144): Content JS LOG at app://system.gaiamobile.org/js/statusbar.js:499 in sb_updateWifi: relSignalStrength = 8 E/GeckoConsole( 144): Content JS LOG at app://system.gaiamobile.org/js/statusbar.js:500 in sb_updateWifi: icon.dataset.level = 0 While the settings app LOG: I/Gecko ( 145): onscanresultsavailable network.ssid = Connectify-me === Number(match[3])[注:signalStrength] = -57 === signal = 95 I/Gecko ( 145): lxp:: onscanresultsavailable network.relSignalStrength = 95 E/GeckoConsole( 400): Content JS LOG at app://settings.gaiamobile.org/js/wifi.js:333 in onScanSuccess: network.ssid = Connectify-me ===settings network.relSignalStrength = 95
Comment on attachment 736654 [details] [diff] [review] patch for wifi icon display wrong Review of attachment 736654 [details] [diff] [review]: ----------------------------------------------------------------- r=me with the lint issue fixed ::: apps/system/js/statusbar.js @@ +491,4 @@ > case 'connected': > icon.hidden = false; > > + if(icon.dataset.connecting) { nit: missing a space before the |(|, this won't pass the linter.
Attachment #736654 - Flags: review?(etienne) → review+
Attachment #736736 - Flags: review?(etienne)
Attachment #736654 - Attachment is obsolete: true
Comment on attachment 736736 [details] [diff] [review] patch for bug853756 Review of attachment 736736 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #736736 - Flags: review?(etienne) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-b2g: --- → tef?
blocking-b2g: tef? → tef+
Assignee: nobody → etienne
Uplifted 853756 to: v1-train: 3d3de3a9c12e48190a3e1f3c59a4e97f90678234 v1.0.1: 37b659535f9e8345e1a2adfc2d5871889ae66355
Tested with: Gecko: ea6a890 Gaia: b750757 QC RIL: V1.01.00.01.19.072
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: