Closed
Bug 873409
Opened 11 years ago
Closed 11 years ago
[Settings] Internet Sharing: Wi-Fi hotspot name overlaps the "Name" text when too large
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(b2g18?)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g18 | ? | --- |
People
(Reporter: bov, Assigned: mihai)
References
Details
(Whiteboard: [s=fx32])
Attachments
(2 files)
Steps: 2. Go to "Settings". 3. Select "Internet Sharing" under Network & Connectivity. 4. Select "Hotspot Settings" and add a large password over 20 characters. 5. Click "OK" in the top right to save the data. Actual Results: The text begins to overlap. Expected Results: After a specific number of character the text will be cut off and will display ellipsis.
PLEASE DON'T TAKE INTO ACCOUNT THE FIRST DESCRIPTION. THIS IS THE RIGHT ONE: Tested on a Inari device. V 1.0.1 Build identifier: 20130516003416 Platform version: 18.0 Steps: 1. Go to "Settings". 2. Select "Internet Sharing" under Network & Connectivity. 3. Select "Hotspot Settings" and type a large SSID network name over 20 characters. 4. Click "OK" in the top right to save the data. Actual Results: The text typed overlaps the NAME field Expected Results: After a specific number of characters (20) the text will be cut off without overlaps any field.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mihai
Assignee | ||
Comment 3•11 years ago
|
||
Rob, what do you think a good approach would be to tackle the overlapping text here? One solution that I have in mind is to add the marquee I introduced with the patch for bug 871454.
blocking-b2g: --- → leo?
Flags: needinfo?(rmacdonald)
Comment 4•11 years ago
|
||
As much as I love the marquee, in this case I think it's best to truncate. Why? First, because the user is picking the name and, second, because they can always view the full name in the hotspot settings if required. So it's unlikely we'll create any usability issues. When we've used the marquee it's typically been where the user doesn't have any other option and if there's a potential for a usability issue without the full string. In this case I don't think that applies.
Flags: needinfo?(rmacdonald)
Assignee | ||
Comment 5•11 years ago
|
||
Thanks for your input on this, Rob. I will add the logic to truncate with ellipsis the overflowing WiFi HotSpot names.
Assignee | ||
Comment 6•11 years ago
|
||
Simple CSS fix that truncates (with ellipsis) long strings to avoid overlapping the label text. The solution allows the user to see the full string by tapping and swiping left/right. The patch also fixed the (overlapping) password field which shows the same behavior as the hotspot name (SSID) field.
Attachment #762080 -
Flags: review?(arthur.chen)
Comment 7•11 years ago
|
||
Comment on attachment 762080 [details]
Pull Request #10370 - Truncate overlapping SSID/password
Mihai, I am not sure if the solution is okay. Let's get some UX inputs here.
Attachment #762080 -
Flags: review?(arthur.chen)
Comment 8•11 years ago
|
||
Please provide some inputs for handling lengthy SSID and password. Thanks!
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 9•11 years ago
|
||
Triage - not blocking. UX please suggest a solution for this even though not blocking leo release.
blocking-b2g: leo? → ---
Comment 10•11 years ago
|
||
With attachment 762080 [details] applied, the lengthy text is truncated as suggested in comment4. Meanwhile, users are able to scroll the text to view the full content.
Comment 12•11 years ago
|
||
Assigning needinfo to Casey even though this is not blocking. Blockers still take priority.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(kyee)
Comment 13•11 years ago
|
||
A solution has already been provided in Comment 4. The same behavior should also apply to the password field.
Flags: needinfo?(kyee)
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 762080 [details] Pull Request #10370 - Truncate overlapping SSID/password Updated the patch to just truncate the SSID and password fields ass comment 4 suggested. Note: the issue highlighted by bug 890496 (i.e. the button to access the HotSpot Settings is not working) makes it impossible to test this patch for now (I tested it with the fix for bug 890496 applied).
Attachment #762080 -
Flags: review?(arthur.chen)
Comment 15•11 years ago
|
||
Comment on attachment 762080 [details]
Pull Request #10370 - Truncate overlapping SSID/password
Thanks for the effort, Mihai! r=me.
Attachment #762080 -
Flags: review?(arthur.chen) → review+
Comment 16•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/db911cbbb69be04f999728b5b96204d0bf580ed6
Assignee | ||
Comment 17•11 years ago
|
||
Thanks for landing the patch, Arthur!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Whiteboard: [s=fx32]
You need to log in
before you can comment on or make changes to this bug.
Description
•