admin管理员组文章数量:1435534
I’m encountering an issue in a Delphi app when using Android's Gesture Navigation feature. Specifically, the VirtualKeyboard hide and show events are only triggered every second attempt when performing a hardware back (HwBack) gesture. This problem does not occur when using the 3-button navigation system.
Here’s a video explaining Android Gesture Navigation for reference:
Reproduction steps:
- Create a TForm in Delphi.
- Add a component (e.g., an TEdit) that triggers the VirtualKeyboard.
- Use Android Gesture Navigation and attempt to hide the keyboard using the HwBack gesture.
- Observe that the VirtualKeyboard hide event is triggered only on every second attempt.
Additional context:
- When using the 3-button navigation system, the events are triggered reliably.
- Related issue reports: RSP-2040 and RSP-2047 (submitted to Embarcadero).
Has anyone encountered similar issues, and if so, is there a known workaround or fix? The issue occurs in Delphi version 12.2 with the latest patches applied. However, I believe this behavior might be present in earlier versions as well—likely those supporting Android 10, which introduced Gesture Navigation support.
Edit: Some additional insights on this. There is a difference between using the back gesture (swiping from the left or right edge to the center) and using the small button below the keyboard to hide it. When using the small keyboard button, the behavior can be consistently reproduced.
本文标签: Delphi VirtualKeyboard events not reliably triggered with Android Gesture NavigationStack Overflow
版权声明:本文标题:Delphi: VirtualKeyboard events not reliably triggered with Android Gesture Navigation - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745623504a2666829.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论