Kivy Window Resize
See original GitHub issueGood Afternoon,
I’m running Python 3.5 and Kivy 1.9.1 on OS X. I installed Kivy using pip install, and I was never really able to get Kivy to work using the download and putting in my Applications folder like the instructions were asking. Everything seems to work fine, and I’ve made a few apps; however, I seem to encounter a problem whenever I try to resize the window. The window goes white while I’m resizing it, and then it turns blank/black afterwards. The terminal just says that it reloaded the graphics and the amount of time it took. I was hoping that after I made my apps using Pyinstaller that this would go away, but the problem still persists. Has anyone else encountered this problem? I haven’t been able to test this on another computer yet to see if the problem persists. I checked the other issues, and it seemed one other person had this issue (#1762), but their terminal output seemed like it had more than mine so I think the problem is slightly different. This problem persists no matter if the app is simple (just a simple button) or complex. Here is the output in the terminal:
Johns-MBP:Kivy Files jal$ python3 testapp.py
[INFO ] [Logger ] Record log in /Users/jal/.kivy/logs/kivy_16-05-27_19.txt
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_gif, img_pygame, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: pygame
[INFO ] [GL ] OpenGL version <b'2.1 ATI-1.42.11'>
[INFO ] [GL ] OpenGL vendor <b'ATI Technologies Inc.'>
[INFO ] [GL ] OpenGL renderer <b'ATI Radeon R9 M370X OpenGL Engine'>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <b'1.20'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: pygame
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Context ] Reloading graphics data...
[INFO ] [Context ] Reloading done in 0.0124s
I’ve only been working with Python for about a month and Kivy for a little over a week.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (5 by maintainers)
Top GitHub Comments
No problem! And yeah, gotta make sure you’re using the right python with pip. 😉 Could be worse. On my MacBook, I somehow have
python
->python2
butpip
->python3
. 😄Thank you sooooooo much guys!! At the beginning, I had installed kivy and pygame with pip install. My code did not have any apparent error, but I had some minor problems, like the window popping up behind all the other open windows which I couldn’t bring in the foreground, then the mouse interactions were so weird, and finally, I couldn’t write any text input. There was definitively something wrong. I thought it was Pycharm managing windows weirdly but it wasn’t. So, this is THE solution for people who are MacOs + anaconda + python 3.6 + kivy 1.10 like me.