kivy / kivy/python-for-android

Keyboard suggestion does not work

オープン
#2,734 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug need-analysis Priority: High
主要言語
Python
スター
8.9k
フォーク
2k
平均マージ
12時間 20分
マージ済み PR(30日)
9

説明

### Versions

- Python: 3.9.9
- OS: Android
- Kivy: master
- Cython: latest
- OpenJDK: 17
- Keyboard: Microsoft SwiftKey, Gboard
- Android 10
- p4a: develop

```py
from kivy.app import App
from kivy.lang import Builder

kv = """
Screen:
TextInput:
size_hint_y: None
height: dp(45)
hint_text: "keyboard_suggestions: False"
write_tab: False
keyboard_suggestions: False
input_type: 'text'
pos_hint: {"top": 0.9}

TextInput:
size_hint_y: None
height: dp(45)
hint_text: "keyboard_suggestions: True"
write_tab: False
keyboard_suggestions: True
input_type: 'text'
pos_hint: {"top": 0.7}
"""

class Test(App):
def build(self):
return Builder.load_string(kv)

Test().run()
```

**buildozer.spec**
```
[app]

title = My Application

package.name = myapp

package.domain = org.test

source.dir = .

source.include_exts = py,png,jpg,kv,atlas

version = 0.1

requirements = kivy==master

orientation = all

osx.python_version = 3

osx.kivy_version = 2.1.0

fullscreen = 0

android.api = 33

android.minapi = 21

android.ndk = 25b

android.accept_sdk_license = True

android.enable_androidx = True

android.logcat_filters = *:S python:D

android.archs = arm64-v8a, armeabi-v7a

android.allow_backup = True

p4a.branch = develop

p4a.bootstrap = sdl2

[buildozer]

log_level = 2

warn_on_root = 1
```

https://user-images.githubusercontent.com/40869738/211172799-ce0929e3-fea3-4a78-96df-7d27865fce63.mp4

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reproducing the behavior with the minimal Python/Kivy app and buildozer.spec shown in the issue on Android 10 using Gboard or SwiftKey. Compare the two TextInput fields while collecting Android logs with the configured logcat filters. Done means keyboard suggestions respond correctly to the keyboard_suggestions setting.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, python
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。