Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0 Alpha
-
None
-
Linux
Description
Surrounding text is a feature that allows input methods to query the text and cursor position in the current text input field and also to delete part of that surrounding text.
We can delete surrounding text by using QInputMethodEvent::commitString() with an empty string and non-zero replaceLength. On the other hand, getting surrounding text can be done with a QWidget::inputMethodQuery(Qt::ImSurroundingText).
Attachments
For Gerrit Dashboard: QTBUG-37540 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
81016,2 | IBus: New version of IBus.InputContext DBus declaration file | dev | qt/qtbase | Status: MERGED | +2 | 0 |
81017,8 | IBus: Implement IBus' surrounding text feature | dev | qt/qtbase | Status: MERGED | +2 | 0 |
81018,6 | IBus: Implement QDBusArgument serialization operators | dev | qt/qtbase | Status: MERGED | +2 | 0 |
81019,2 | IBus: Inform IBus of surrounding text changes | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
81020,2 | IBus: Convert all fromDBusArgument() calls to stream operators | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
81021,2 | IBus: Simpler deleteSurroundingText logic | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
81022,2 | IBus: Use static cast instead of regular cast | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
81024,1 | IBus: Fix style issue | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |