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

request_keyboard requires a widget not an app. #31

Open
Poikilos opened this issue Mar 13, 2022 · 0 comments · May be fixed by #32
Open

request_keyboard requires a widget not an app. #31

Poikilos opened this issue Mar 13, 2022 · 0 comments · May be fixed by #32

Comments

@Poikilos
Copy link

Poikilos commented Mar 13, 2022

The camera example has the strange error:

   File "/home/owner/venv/kivy/lib/python3.9/site-packages/kivy/core/window/__init__.py", line 1728, in update_viewport
     targettop = max(0, target.to_window(0, target.y)[1]) if target else 0
 AttributeError: 'MainApp' object has no attribute 'to_window'

which can be solved by passing a widget not an app to request_keyboard.

Poikilos added a commit to Poikilos/kivy3 that referenced this issue Mar 13, 2022
@Poikilos Poikilos linked a pull request Mar 13, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant