简体   繁体   中英

Kivy cursor black background

I am using Kivy with python for my app. But there is black background on my cursor on Kivy window.

在此处输入图片说明

How can I fix it ?

I am using python3 on OSX

UPDATE

I have same issue with hello world application too.

When mouse stays at same position about 10 seconds, black background disappears, but when leaving and entering again, same problem occures

After many retries I figured out the problem. As @Mikhail Gerasimov said, it was thread issue. H had lot of calculations in main thread (it takes over 10s).

After moving it to another thread, and let main thread empty, the problem with black background fixed.

Also I moved Kivy updates to another thread

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM