Closed Bug 760085 Opened 12 years ago Closed 12 years ago

White cursor in text entry field within Find in Page

Categories

(Firefox for Android Graveyard :: General, defect)

15 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox15+ verified, firefox16 verified, firefox17 verified)

VERIFIED FIXED
Firefox 16
Tracking Status
firefox15 + verified
firefox16 --- verified
firefox17 --- verified

People

(Reporter: aaronmt, Assigned: Margaret)

References

Details

Attachments

(2 files)

See screenshot.
Summary: White cursor in text entry field → White cursor in text entry field within Find in Page
Version: unspecified → Firefox 15
Sounds like all that might be needed here is setting android:textCursorDrawable to @null on the <EditText>, and then setting android:textColor as the cursor colour
Attached patch patchSplinter Review
That worked. We need to get Aaron writing patches!
Assignee: nobody → margaret.leibovic
Attachment #637995 - Flags: review?(sriram)
Comment on attachment 637995 [details] [diff] [review]
patch

Review of attachment 637995 [details] [diff] [review]:
-----------------------------------------------------------------

http://developer.android.com/sdk/api_diff/12/changes/android.R.attr.html <-- This scares me a bit.
Please test it on a gingerbread device, and if this attribute doesn't give any trouble, this patch is fine with me.
r+ with that check.
Attachment #637995 - Flags: review?(sriram) → review+
(In reply to Sriram Ramasubramanian [:sriram] from comment #3)
> Comment on attachment 637995 [details] [diff] [review]
> patch
> 
> Review of attachment 637995 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> http://developer.android.com/sdk/api_diff/12/changes/android.R.attr.html <--
> This scares me a bit.
> Please test it on a gingerbread device, and if this attribute doesn't give
> any trouble, this patch is fine with me.
> r+ with that check.

Tested on Gingerbread, and it works fine :)

This bug only exists on ICS, so we don't need to worry about the change actually doing something on older versions, we just need to make sure it doesn't cause problems.
Right, it would be there only on ICS.
I was worried that Android would crash on seeing an "unknown" attribute, which it does at times.
https://hg.mozilla.org/integration/mozilla-inbound/rev/1be6ac53a907
Target Milestone: --- → Firefox 16
Comment on attachment 637995 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): follow-up to find in page (bug 695172)
User impact if declined: cursor isn't visible on ICS
Testing completed (on m-c, etc.): just landed on inbound
Risk to taking this patch (and alternatives if risky): low-risk style change
String or UUID changes made by this patch: n/a
Attachment #637995 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/1be6ac53a907
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 637995 [details] [diff] [review]
patch

[Triage Comment]
Low risk style follow-up for a newly uplifted FN15 feature.
Attachment #637995 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: