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
Black screen and restart required after importing kivy.uix.textinput #8097
Comments
Well it is doing nothing except importing TextInput. The logs you see are default logs that kivy shows on imports. |
I expected it to import TextInput but it crashed my MacBook instead. The import fails. |
It dosent matter which system are you using be it mac, win or Lin all of them require you to write one thing in your code I. E. App().run() without that it appears to crash though it is the default behaviour in kivy, furthermore your logs are normal they don't indicate any error. |
Are you saying that the default behaviour is to freeze my computer, make the screen black and grab all my keyboard inputs just because I imported a module? I don't think this makes much sense. Is this documented somewhere? |
Oh ohk yup that's an issue,forgive me, btw why don't you try and use some other kivy version? |
Hi @JMrziglod ! I've tested both
Also, our Github Actions M1 (non-pro) self-hosted runner, is not reporting any issue. Is this issue happening constantly? |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
The same thing happened to me. Imported the line below, everything froze, screen went black, my screen came back had lower resolution and was much smaller. Nothing working but mouse inputs. Keyboard input didn't work. Had to restart computer to fix. I was importing in a Jupyter Notebook, not sure if this is relevant. Thanks. Kivy 2.3.0
|
@jmdc112596: Try the support channels. Sounds like you are making the same mistake as the OP. Importing in Kivy has side-effects, alas. |
Software Versions
Describe the bug
After importing the TextInput class from
kivy.uix.textinput
- without building an app or anything -, I get a black screen, the screen resolution was changed and keyboard inputs are not possible anymore. I had to restart my Mac Book.I tried it out on another MacBook which has an Intel chip and the code worked. So it is probably a problem with the M1 chip.
Expected behavior
It shouldn't do anything except import TextInput.
To Reproduce
Logs
The text was updated successfully, but these errors were encountered: