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

MDTextField is blocking the keyboard listener for android back button #1425

Closed
PythonLaboratory opened this issue Dec 6, 2022 · 5 comments
Closed

Comments

@PythonLaboratory
Copy link

Description of the Bug

Back button stops working after using MDTextField on Android devices

Code and Logs

from kivy.lang import Builder

from kivymd.app import MDApp

KV = '''
MDScreen:

    MDTextField:
        pos_hint: {"center_x": .5, "center_y": .5}
        size_hint_x: .5
'''
class Test(MDApp):

    def build(self):
        
        return Builder.load_string(KV)

Test().run()

Versions

  • OS: Android 12, Ubuntu 22.04
  • Python: 3.10.0
  • Kivy: 2.1.0
  • KivyMD: 1.1.1
@HeaTTheatR
Copy link
Member

This has nothing to do with the KivyMD library

@PythonLaboratory
Copy link
Author

PythonLaboratory commented Dec 7, 2022

This has nothing to do with the KivyMD library
Where then to apply?

@Neizvestnyj
Copy link
Contributor

This has nothing to do with the KivyMD library
Where then to apply?

kivy/python-for-android#2423

@PythonLaboratory
Copy link
Author

This has nothing to do with the KivyMD library
Where then to apply?

kivy/python-for-android#2423

I'm sorry, but I still don't understand what I need to do to fix this bug...

@PythonLaboratory
Copy link
Author

I found a solution. I did so requirements = python3,kivy==master,kivymd,sdl2_ttf==20.20.1,android and p4a.branch = develop

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

3 participants