Closed Bug 1168327 Opened 9 years ago Closed 9 years ago

[Bluetooth]Long device names overlap icons in the device lists.

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 unaffected, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.1 --- unaffected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: xiongfuchao, Assigned: iliu)

References

Details

(Keywords: regression)

Attachments

(5 files)

Attached file logcat_1704.txt
[1.Description]:
[Bluetooth][API v2][Nexus 5 v3.0][Flame v3.0]When searching for BT devices in the area, if the BT name is too long, device name is not truncated, so it will overlap with icons. 
Found time:17:04
See attachment:logcat_1704.txt & screenshot.png

[2.Testing Steps]: 
Prerequisite: There is a BT device with a long name.
1. Launch the Settings app and then tap the Bluetooth section on test device. 
2. Enable the Bluetooth on the test device. 
3. Tap the Search for Devices button. 
4. Observe the really long name. 


[3.Expected Result]: 
4.The name has been truncated so that it does not interfere with the icon to the right of the name. 

[4.Actual Result]: 
4.Long device names overlap with icons in the device lists.

[5.Reproduction build]: 
Bluetooth test device(Flame v3.0) build(Affected):
Build ID               20150521162639
Gaia Revision          16d5b82cde55b18af984ff0e0437ec7472c372e4
Gaia Date              2015-05-21 07:12:10
Gecko Revision         n/a
Gecko Version          41.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.bruce_sun.20150422.115208
Firmware Date          Wed Apr 22 11:52:32 CST 2015
Bootloader             L1TC000118D0

Bluetooth test device(Nexus-5-L) build(Affected):
Build ID               20150521135508
Gaia Revision          d3d9e553628b11ebf326e63e757492383609a40a
Gaia Date              2015-05-20 21:12:02
Gecko Revision         n/a
Gecko Version          41.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.bruce_sun.20150513.164544
Firmware Date          Wed May 13 16:46:29 CST 2015
Bootloader             HHZ12f

Flame 3.0 build(Affected):
Build ID               20150525160205
Gaia Revision          5bcc08a732163087999251b523e3643db397412c
Gaia Date              2015-05-24 14:44:40
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/b6623a27fa64
Gecko Version          41.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150525.192755
Firmware Date          Mon May 25 19:28:07 EDT 2015
Bootloader             L1TC000118D0

Nexus5 3.0 build(Affected):
Build ID               20150525160205
Gaia Revision          5bcc08a732163087999251b523e3643db397412c
Gaia Date              2015-05-24 14:44:40
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/b6623a27fa64
Gecko Version          41.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150525.192207
Firmware Date          Mon May 25 19:22:24 EDT 2015
Bootloader             HHZ12f

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
8562
Attached image screenshot.png
The issue is common and easy to be reproduce on APIv1/v2. But I don't remember we have fixed it or not. Might the style of <li> is broken. Request regression windows first.
Assignee: nobody → iliu
See Also: → 930213
It could be a regression of bug 1158094.... We should add the style back for bluetooth items.
We branch check first.
This issue affects Flame 2.2. Long device names are not truncated to avoid unsightly UI.

Device: Flame 2.2
BuildID: 20150526002558
Gaia: 6a8d171d00efe8b27cba91bf1d789ab824579664
Gecko: 46f6c7327ab0
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 37.0 (2.2) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

----

This issue does not occur on Flame 2.1. Long device names are truncated. See attached screenshot.

Device: Flame 2.1
BuildID: 20150526001202
Gaia: 0d343f49c0e0a3928a4f456faf98e37bb26a6ef6
Gecko: 6e357036c54b
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 34.0 (2.1) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

---

I suspect this issue is similar to bug 1167807 which is a Gaia Settings bug and is caused by a change in Settings where strings are no longer truncated on first line. I'll confirm whether these 2 issues are of the same cause when I find the regression window for this bug.
Working on getting the window.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Contact: pcheng
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Confirmed that comment 3 is correct, and that bug 1167807 share the same window as this bug.

b2g-inbound regression window:

Last Working
Device: Flame
BuildID: 20150504171852
Gaia: e1773d6d1014c997be4b5c4233bba3ee073b8d7b
Gecko: bf86d6afdff2
Version: 40.0a1 (3.0 Master) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0

First Broken
Device: Flame
BuildID: 20150505025332
Gaia: d454015a2a3e3a1812e375082d90ab964c10fbe7
Gecko: 2b36f0280aaf
Version: 40.0a1 (3.0 Master) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0

Last Working Gaia & First Broken Gecko - issue does NOT repro
Gaia: e1773d6d1014c997be4b5c4233bba3ee073b8d7b
Gecko: 2b36f0280aaf

Last Working Gecko & First Broken Gaia - issue DOES repro
Gaia: d454015a2a3e3a1812e375082d90ab964c10fbe7
Gecko: bf86d6afdff2

Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/e1773d6d1014c997be4b5c4233bba3ee073b8d7b...d454015a2a3e3a1812e375082d90ab964c10fbe7

Caused by the patch for Bug 1158094.
Blocks: 1158094
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
master is affected, remove blocks of bug 1130946.
No longer blocks: 1130946
Summary: [Bluetooth][API v2]Long device names overlap icons in the device lists. → [Bluetooth]Long device names overlap icons in the device lists.
Arthur, can you take a look at this please? This looks to have been caused by the work done for bug 1158094.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(arthur.chen)
The symptom is as title description.
If there is blank space in this string, it will be displayed in multiple line.
I reverted bug 1158094. Close the bug as WONTFIX.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(arthur.chen)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: