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

Cursor unresponding #3

Closed
pouryatorabi opened this issue Apr 6, 2019 · 5 comments
Closed

Cursor unresponding #3

pouryatorabi opened this issue Apr 6, 2019 · 5 comments

Comments

@pouryatorabi
Copy link

I have a problem with the cursor, it also occurs in the render example provided. The problem is if I move my mouse to the created window, it becomes unresponding.

@veeableful
Copy link
Contributor

Hi @pouryatorabi, could you elaborate on what you mean by unresponding? What is your OS?

@pouryatorabi
Copy link
Author

Hi, Actually I have tried both on Win and Linux, I just tried to hide my mouse cursor, but the cursor would show a busy indicator when I move it from outside the window to inside it. I hope you understand it, it is hard to explain :)))

@veeableful
Copy link
Contributor

Hi @pouryatorabi, there is a 2-second sleep / freeze in the program after it finishes drawing which I guess causes the cursor to be busy. Does that match what you experienced? It is an intended outcome as of now.

@pouryatorabi
Copy link
Author

Yes that is what causes the problem, but what if we actually need a delay?

@veeableful
Copy link
Contributor

Hi @pouryatorabi, you can use the delay function on another thread if needed so it doesn't block the main thread. If you block the main thread with sleep, the cursor will be shown busy.

This issue was closed.
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

2 participants