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)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
VERIFIED
FIXED
blocking-b2g | tef+ |
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:
Comment 5•12 years ago
|
||
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.
Comment 6•12 years ago
|
||
Attachment #736654 -
Flags: review?(etienne)
Comment 7•12 years ago
|
||
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
Assignee | ||
Comment 8•12 years ago
|
||
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+
Comment 9•12 years ago
|
||
Attachment #736736 -
Flags: review?(etienne)
Assignee | ||
Updated•12 years ago
|
Attachment #736654 -
Attachment is obsolete: true
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 736736 [details] [diff] [review]
patch for bug853756
Review of attachment 736736 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #736736 -
Flags: review?(etienne) → review+
Assignee | ||
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
blocking-b2g: --- → tef?
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Updated•12 years ago
|
Assignee: nobody → etienne
Comment 12•12 years ago
|
||
Uplifted 853756 to:
v1-train: 3d3de3a9c12e48190a3e1f3c59a4e97f90678234
v1.0.1: 37b659535f9e8345e1a2adfc2d5871889ae66355
status-b2g18:
--- → fixed
status-b2g18-v1.0.1:
--- → fixed
Comment 13•12 years ago
|
||
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.
Description
•