Closed Bug 1738685 Opened 3 years ago Closed 3 years ago

Consider making Android text selection more native-looking (implement zooming in AccessibleCaret?)

Categories

(GeckoView :: General, enhancement)

Unspecified
All
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1639087

People

(Reporter: emilio, Unassigned)

Details

As per https://www.reddit.com/r/firefox/comments/qkcq9w/is_there_a_reason_firefox_for_android_still/, newer android phones show a little zoomed version of the text when you're dragging.

It seems Chromium-based browsers also do this (so either they implement it themselves, or there's an Android API to do something like that). It'd be nice if Firefox for Android also did that.

I'm not sure what the best implementation approach would be because I haven't dug in whether we can just do a magic Android API call with the right coordinates so that it works, or whether we need to implement this ourselves, so starting on GeckoView :: General for now.

As per https://www.reddit.com/r/firefox/comments/qkcq9w/is_there_a_reason_firefox_for_android_still/, newer android phones show a little zoomed version of the text when you're dragging.

I guess that it is magnify glass (bug 1639087 or https://developer.android.com/guide/topics/text/magnifier)?

Yeah, guess this is bug 1639087. Is this blocked on getting the drag point on the accessiblecaret events? If so that should be fairly easy to fix I think? I'd be willing to give it a shot.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

(For the above question)

Flags: needinfo?(m_kato)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #3)

(For the above question)

Althouhg I have a WIP, I need new somehing dragcaret event to watch draging caret, then I have to add a prefs whether firing it. (Prototype is https://hg.mozilla.org/try/rev/173323c250a72564be1ebec2f762e81a2e92511b).

Flags: needinfo?(m_kato)
You need to log in before you can comment on or make changes to this bug.