textinputv3: use the cursorBegin as a cursor position of preedit
When using preedit, CJ inputs use the cursor rectangle for showing
a candidate list. The cursorBegin of preedit has been used for
the position in most compositors and desktop input-methods.
Done-by: lilydjwg li
Fixes: QTBUG-129331
Pick-to: 6.9 6.8 6.5
Change-Id: Id8a1fa864189ced98672c3b20c169dd6a950d18d
Reviewed-by: David Edmundson <davidedmundson@kde.org>
| commit | 63f9c5e4581fb7098bf78d85e3c987cb1a873a0c |
| parent | ed1abf5b1a966eed7174d2f50ab4b81ad07c9bc2 |
| author | Inho Lee <inho.lee@qt.io> |
| committer | Inho Lee <inho.lee@qt.io> |
| commit time | Mon, 9 Dec 2024 12:47:50 +0000 |