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

Mouse cursor isn't visible #316

Closed
zverbeta opened this issue Feb 16, 2023 · 6 comments · Fixed by #323
Closed

Mouse cursor isn't visible #316

zverbeta opened this issue Feb 16, 2023 · 6 comments · Fixed by #323
Labels
bug Something isn't working

Comments

@zverbeta
Copy link

Hi. Thank you for your work!

Recently i used this library for my setup (rpi3 + blu-mouse + projector), but mouse cursor isn't visible.

i think you should always display the mouse cursor, but display the cursor in the upper right corner (visual invisible), for example

https://github.com/ardera/flutter-pi/blob/ca62469570/src/user_input.c#L343

I'm not familiar with c code, so i can't propose pr

@ardera
Copy link
Owner

ardera commented Mar 7, 2023

Hey, can you try the feature/gstreamer-player-from-pipeline branch?

@ardera ardera added the bug Something isn't working label Mar 7, 2023
@ardera ardera linked a pull request Mar 7, 2023 that will close this issue
@zverbeta
Copy link
Author

zverbeta commented Mar 7, 2023

I tried, in the current branch the cursor is displayed in the upper corner of the screen, but now it does not react to the movements of the mouse.

Last time I was able to click on buttons without a visible cursor ;)

@ardera
Copy link
Owner

ardera commented Mar 7, 2023

Ah, I have an idea what's wrong. I think the cursor is only shown at the new position when flutter draws a new frame. I'll fix it

@zverbeta
Copy link
Author

zverbeta commented Mar 7, 2023

More interestingly, if you run an example from your video player library (https://pub.dev/packages/flutterpi_gstreamer_video_player), the cursor starts to move.

I hope this will somehow help

@frederaik86
Copy link

Hi, this bug has been fixed or is there a workaround?
I've had this issue this morning after update.

Thanks

@ardera ardera linked a pull request Aug 22, 2023 that will close this issue
@ardera ardera removed a link to a pull request Aug 22, 2023
@ardera
Copy link
Owner

ardera commented Aug 22, 2023

fixed by #323

@ardera ardera closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants