Skip to content

Conversation

asterwyx
Copy link
Member

@asterwyx asterwyx commented Dec 9, 2024

  • fix input method not correctly destroyed
  • fix text input v2 do not clear focused surface

WInputMethodHelper creates WInputMethodV2, so it should connect to
before_destroy to destroy it, not aboutToBeInvalidated.
@asterwyx asterwyx marked this pull request as draft December 9, 2024 09:41
Send leave when focused surface destroyed.
Focus is cleared after sendLeave, but text input might be disabled
by the next disabled event. So input popup surface might appear when
there is no focus. This is not allowed. Check focused surface of the
enabled text input wherever it's used as a focused text input.
@asterwyx asterwyx marked this pull request as ready for review December 10, 2024 07:19
@zccrs zccrs merged commit 0a2e49c into vioken:master Dec 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants