Closed Bug 1040946 Opened 12 years ago Closed 8 years ago

[B2G][Settings] Text entered into Wifi password text box partially disappears if side-scrolled slowly.

Categories

(Core :: Layout, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v1.3 --- affected
b2g-v1.4 --- affected
b2g-v2.0 --- affected
b2g-v2.1 --- affected

People

(Reporter: rmead, Unassigned)

References

()

Details

(Whiteboard: [perf-reviewed][273MB-Flame-Support][2.0-exploratory])

Attachments

(3 files)

Attached file Flame2.0logcat.txt —
Description: If you enter enough text into the WiFi password text box that you need to side-scroll to see it all, the text will appear fragmented. Repro Steps: 1) Update a Flame to Build ID: 20140718000232 2) Open 'Settings' and Tap 'Wi-Fi' 3) Select a network that requires a password 4) Tap 'Show Password' then Tap Password text box 5) Type in characters until characters are being pushed offscreen 6) Tap somewhere outside of text box to close keyboard 7) Side-scroll string back to beginning 8) Slowly Side-scroll to the end of the string Actual: The end of the string appears fragmented. Expected: You would not expect to see end of string fragmented. Flame 2.0 (273mb) Environmental Variables: Device: Flame 2.0 Build ID: 20140718000232 Gaia: 34c24749e78496ac1317f4ddb573281c0ef2995e Gecko: 76309f978531 Version: 32.0a2 (2.0) Firmware Version: v122 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Keywords: text, disappears, character, graphic, password, wifi, type Notes: When preforming step 10 of the repo steps, the slower you side-scroll, the more noticable the text bug. The bug will still happen if the password is hidden. I noticed this problem happened for the Marketplace search bar. It also happened in the 'Subject' line text box when composing an email. Repro frequency: (100%) See attached: Logcat, Video - http://youtu.be/ImdF9gmF9xY
This issue DOES occur on Flame 2.1 (273mb), Buri 2.1, Flame 2.0(512mb), Buri 2.0, Flame 1.4 (273mb), Buri 1.4, Buri 1.3 Side-scrolling through text in the password box for wifi causes text to partially disappears Flame 2.1 (273mb) Environmental Variables: Device: Flame Master (273MB) Build ID: 20140718040202 Gaia: Unknown Gecko: e6e8c93a1b6e Version: 33.0a1 (Master) Firmware Version: v122 User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0 Buri 2.1 v2.1 Environmental Variables: Device: Buri Master BuildID: 20140718040202 Gaia: Gecko: e6e8c93a1b6e Version: 33.0a1 Firmware Version: v1.2-device.cfg User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0 Flame 2.0 (512mb) Environmental Variables: Device: Flame 2.0 MOZ ril Build ID: 20140718000232 Gaia: 34c24749e78496ac1317f4ddb573281c0ef2995e Gecko: 76309f978531 Version: 32.0a2 (2.0) Firmware Version: v122 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Buri 2.0 Environmental Variables: Device: Buri 2.0 MOZ ril Build ID: 20140718000232 Gaia: 34c24749e78496ac1317f4ddb573281c0ef2995e Gecko: 76309f978531 Version: 32.0a2 (2.0) Firmware Version: v1.2device.cfg User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Flame 1.4 (273mb) v1.4 Environmental Variables: Device: Flame v1.4 MOZ ril (273MB) BuildID: 20140718000231 Gaia: e0a732cf172d125eadfad59f0faf8f73b62012b8 Gecko: 074223c547af Version: 30.0 Firmware Version: v122 User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 Buri 1.4 v1.4 Environmental Variables: Device: Buri v1.4 MOZ ril BuildID: 20140718000231 Gaia: e0a732cf172d125eadfad59f0faf8f73b62012b8 Gecko: 074223c547af Version: 30.0 Firmware Version: v1.2-device.cfg User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0 Buri 1.3 Environmental Variables: Device: Buri 1.3 Build ID: 20140718005150 Gaia: 23f55be856cef53c6604a6fe4aeb09061afbc897 Gecko: 9d5426c98678 Version: 28.0 (1.3) MOZ Firmware Version: v1.2device.cfg User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]
Attached image 2014-07-30-16-00-22.png —
this reproduces on 319mb flame build id: 20140721000201
this isn't a perf issue. it seems like a graphics issue. Milan, can you find somebody to take a look at this?
Flags: needinfo?(milan)
Whiteboard: [273MB-Flame-Support][2.0-exploratory] → [perf-reviewed][273MB-Flame-Support][2.0-exploratory]
A couple of quick comments: This does reproduce on other devices (e.g., Nexus-4), so it isn't Flame specific. If the keyboard remains on the screen, the problem goes away (at least for me.)
There is still a limit for the number of characters on the password field, it seems to be just long enough to display the dots when the Show password is off. But once we set Show password on, there are too many characters to fit and we get scrolling. I imagine this is not a likely scenario, given that you'd need a very, very long password to trigger it, but it's still worth understanding the underlying problem.
blocking-b2g: --- → backlog
Component: Gaia::Settings → Graphics
Flags: needinfo?(milan)
Product: Firefox OS → Core
So, not a recent regression, and according to people in the know, could be clipping related. It shows up with tiling off; we are painting in the areas that end up being blank.
No problems (with or without the keyboard) when trying to reproduce in the FTE, rather than settings.
Assignee: nobody → bgirard
The bad rendering is caused by text-overflow: ellipsis; from lists.css:71 on the input field. This give us a workaround if we don't have a fix for the platform.
The reason it doesn't reproduce in settings with the keyboard is that the text-overflow: ellipsis only matches when the field is not focused. It's not related to the keyboard. I don't know what 'FTE' is but it likely has ellipsis.
Attached file reduced testcase.html —
Here's a reduce test case. It only seems to occur on b2g and when you focus the field the ellipsis are removed so the bug doesn't reproduce.
Looks like we're under-invalidating when we have the ellipsis. Matt?
Flags: needinfo?(matt.woodrow)
Assignee: bgirard → nobody
Component: Graphics → Layout
Not sure sorry, if you get an invalidation log then I can try figure it out.
Flags: needinfo?(matt.woodrow)
blocking-b2g: backlog → ---
Closing as we are not working on Firefox OS anymore.
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.

Attachment

General

Created:
Updated:
Size: