Skip to content

Keyboard suggestion does not work #2734

Open
@Neizvestnyj

Description

@Neizvestnyj

Versions

  • Python: 3.9.9
  • OS: Android
  • Kivy: master
  • Cython: latest
  • OpenJDK: 17
  • Keyboard: Microsoft SwiftKey, Gboard
  • Android 10
  • p4a: develop
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
KeyboardSuggestionDemo.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.bugneed-analysis

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions