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

Error in deleting characters in a text field #2733

Open
Neizvestnyj opened this issue Jan 7, 2023 · 0 comments
Open

Error in deleting characters in a text field #2733

Neizvestnyj opened this issue Jan 7, 2023 · 0 comments
Labels
bug need-analysis Priority: High After critical issues are fixed, these should be dealt with before any further issues.

Comments

@Neizvestnyj
Copy link
Contributor

Neizvestnyj commented Jan 7, 2023

To delete characters after defocusing the text field, you need to press the delete button as many times as the: number of characters * 2

Versions

  • Python: 3.9.9
  • OS: Android
  • Kivy: master
  • Cython: latest
  • OpenJDK: 17
  • p4a: develop
from kivy.app import App
from kivy.lang import Builder


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

    TextInput:
        size_hint_y: None
        height: dp(45)
        hint_text: "2"
        write_tab: False
        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
DemoDeleteError.mp4
@misl6 misl6 moved this to Needs Triage in Kivy's Control Tower Jan 9, 2023
@kuzeyron kuzeyron added need-analysis bug Priority: High After critical issues are fixed, these should be dealt with before any further issues. labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need-analysis Priority: High After critical issues are fixed, these should be dealt with before any further issues.
Projects
Status: Needs Triage
Development

No branches or pull requests

2 participants