https://bugs.documentfoundation.org/show_bug.cgi?id=152519

Xuetian Weng <wen...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTOURBUG                   |---
             Status|RESOLVED                    |REOPENED

--- Comment #8 from Xuetian Weng <wen...@gmail.com> ---
The issue for libreoffice is that, although it implements the surrounding
support.
Like:
https://github.com/LibreOffice/core/blob/d57836db76fcf3133e6eb54d264c774911015e08/vcl/qt5/QtWidget.cxx#L893

It doesn't seem to notify input method about surrounding changes, which is
usually done with QWidget::updateMicroFocus(), or call
QGuiApplication::inputMethod()->update(FLAGS).

```
void QWidget::updateMicroFocus()
{
    // updating everything since this is currently called for any kind of state
change
    if (this == QGuiApplication::focusObject())
        QGuiApplication::inputMethod()->update(Qt::ImQueryAll);
}
```

I can only find libreoffice's qt implementation notifies about cursor rectangle
change at 
https://github.com/LibreOffice/core/blob/d57836db76fcf3133e6eb54d264c774911015e08/vcl/qt5/QtWidget.cxx#L628

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to