Closed Bug 768666 Opened 12 years ago Closed 12 years ago

Adjust the size of text selection handles as you zoom in/out

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

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: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file)

Ideally we'd want the handles to have a constant size, independent of zoom, but an improvement would be to just avoid them ever being super tiny or super huge.
Attached patch patchSplinter Review
Simply scaling the handles with CSS works surprisingly well. I had to get rid of the vertical offset and add a horizontal offset in positionHandles, which feels sketchy, but I wasn't able to figure out why exactly the positions were slightly off.

Tested on a Nexus S running 2.3.6.
Assignee: nobody → margaret.leibovic
Attachment #637969 - Flags: review?(mbrubeck)
A build, if anyone wants to try: https://dl.dropbox.com/u/3358452/text-selection-zoom.apk
Attachment #637969 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/924b157541bc
Target Milestone: --- → Firefox 16
https://hg.mozilla.org/mozilla-central/rev/924b157541bc
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 637969 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): this should be part of the text selection mass uplift (bug 695173), but was fixed after the roll-up patch in that bug was created
User impact if declined: handles zoom as the page zooms
Testing completed (on m-c, etc.): landed on m-c 6/30
Risk to taking this patch (and alternatives if risky): low risk 
String or UUID changes made by this patch: n/a
Attachment #637969 - Flags: approval-mozilla-aurora?
Attachment #637969 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Uplifted to aurora as part of a roll-up patch:
https://hg.mozilla.org/releases/mozilla-aurora/rev/2fb0a358eaf6
Component: General → Text Selection
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: