Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IME problems & todo #1561

Closed
Soreepeong opened this issue Dec 5, 2023 · 0 comments
Closed

IME problems & todo #1561

Soreepeong opened this issue Dec 5, 2023 · 0 comments

Comments

@Soreepeong
Copy link
Contributor

Problem

  • Currently, IME stops working when you write something into a text input inside the main viewport, drag a window outside the main viewport, and try to input into a text input outside the main viewport.
  • DispatchMessageW seems to be translating messages tangential to IME, so that its target window may change during processing, making hooking that function not usable for processing/dispatching IME messages to additional ImGui viewports, especially when we're skipping this function if the message is targeted as the main game window.
  • Other methods of WndProc hooking have been done and abandoned, as using SetWindowLongPtrW or Reloaded/MinHook did not work out due to other crapwares having inadequate hook implementation.
  • Hooking RegisterClassExW on Dalamud.Boot does work reliably, but it is only applicable for entrypoint load mode.

Todo

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

No branches or pull requests

1 participant