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

input_method_dispatch_key调用问题 #26

Open
zxc3489 opened this issue Apr 27, 2021 · 2 comments
Open

input_method_dispatch_key调用问题 #26

zxc3489 opened this issue Apr 27, 2021 · 2 comments

Comments

@zxc3489
Copy link

zxc3489 commented Apr 27, 2021

请问如何在xml对应的page文件里安全的调用input_method_dispatch_key?
多次调用input_method_dispatch_key(input_method(), key),较大概率出现崩溃,崩溃点在widget_on_grabbed_keys里widget_get_window时,对应地址的数据已非法(已被释放)

@zxc3489
Copy link
Author

zxc3489 commented Apr 27, 2021

使用的是九键键盘

@xianjimli
Copy link
Member

方便的话,弄个最小可重现的demo给我看看。

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

2 participants