https://bugs.kde.org/show_bug.cgi?id=506095

Weng Xuetian <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/2a4cdfe47b
                   |                            |6bc91b299f8b619c33a932c711a
                   |                            |474
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #27 from Weng Xuetian <[email protected]> ---
Git commit 2a4cdfe47b6bc91b299f8b619c33a932c711a474 by Weng Xuetian.
Committed on 19/09/2025 at 06:01.
Pushed by xuetianweng into branch 'im-focus'.

Fix a few potential missing opportunity that input method active state is not
synced.

1. InternalInputMethodContext::setFocusObject(nullptr) should still notify
   enabledChanged (no focus -> disable).
2. InternalInputMethodContext::update(Qt::ImEnabled) should notify
   enableChanged.
3. KWin's QPA may missing setFocusObject(nullptr) when destroy window,
   try to monitor destroyed signal as a last resort.
4. Call refreshActive() again on seat's focused text input surface
   change.

The direct root cause to 506095 is caused by 3. Both 3 & 4 could fix
it.

M  +6    -3    src/inputmethod.cpp
M  +20   -3    src/internalinputmethodcontext.cpp
M  +3    -0    src/internalinputmethodcontext.h

https://invent.kde.org/plasma/kwin/-/commit/2a4cdfe47b6bc91b299f8b619c33a932c711a474

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to