Consider making Android text selection more native-looking (implement zooming in AccessibleCaret?)
Categories
(GeckoView :: General, enhancement)
Tracking
(Not tracked)
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.
Comment 1•3 years ago
|
||
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)?
Reporter | ||
Comment 2•3 years ago
|
||
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.
Comment 4•3 years ago
|
||
(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).
Description
•