Open Bug 1514447 Opened 7 years ago Updated 2 years ago

Consider removing TextComposition usages in widget/android

Categories

(GeckoView :: General, enhancement, P3)

Unspecified
Android
enhancement

Tracking

(firefox-esr60 wontfix, firefox-esr68 fix-optional, firefox68 wontfix, firefox69 fix-optional, firefox70 affected)

Tracking Status
firefox-esr60 --- wontfix
firefox-esr68 --- fix-optional
firefox68 --- wontfix
firefox69 --- fix-optional
firefox70 --- affected

People

(Reporter: m_kato, Assigned: m_kato)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:fenix?])

My understand is that TextComposition is for dom/base and dom/events, not widget. So I guess that we shouldn't use TextComposition in widget. But widget/android still use it, so we should remove TextComposition usages in widget/android
Yeah, I told about that, but there is still a lot of referrers in widget/android. If some of them are necessary, TextEventDispatcher should have them and should be referred by widget/android.
(In reply to Masayuki Nakano [:masayuki] (JST, +0900) from comment #1) > Yeah, I told about that, but there is still a lot of referrers in > widget/android. If some of them are necessary, TextEventDispatcher should > have them and should be referred by widget/android. This is used for start offset and end offset of composition. So I think that we can remove TextCompositon dependency by storing offsets after dispatching composition and/or receiving composition handled.

Makoto, is this bug relevant for GV in Fenix? Or does this TextComposition code only affect Fennec?

Flags: needinfo?(m_kato)
Whiteboard: [geckoview:fenix?]

(In reply to Chris Peterson [:cpeterson] from comment #3)

Makoto, is this bug relevant for GV in Fenix? Or does this TextComposition code only affect Fennec?

Both, but this is for refactoring.

Flags: needinfo?(m_kato)
Priority: -- → P3
Blocks: 1658529

Moving all open Core::Widget: Android bugs to GeckoView::General (then the triage owner of GeckoView will decide which ones are valuable and which ones should be closed).

Component: Widget: Android → General
Product: Core → GeckoView
Severity: normal → S3

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.