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 Only Moves on Half the Screen with flutter-pi Rotated 90 Degrees #428

Open
Freancy opened this issue Jun 27, 2024 · 3 comments
Open

Comments

@Freancy
Copy link

Freancy commented Jun 27, 2024

Description

When using flutter-pi --rotate 90 , the mouse cursor is restricted to moving only on half of the screen. This issue limits the usability of the mouse input in the rotated orientation.

Steps to Reproduce:

Connect raspberry through HDMI to external monitor.
Run flutter app with flutter-pi --rotate 90 --release flutter_assets
Attempt to move the mouse cursor across the entire screen.
Expected Behavior:
The mouse cursor should be able to move across the entire screen area, regardless of the display rotation.

Observed Behavior:

The mouse cursor only moves within half of the screen, leaving the other half inaccessible.

Environment:

flutter-pi version: 1.0.0
Hardware: RaspberryPi4

@Jayrajghoniya
Copy link

I am also having the same issue! After rotating in portrait mode the mouse behaviour is still like a landspace cause the input matrix doesn't changes as the screen rotates... I thinks it is because of the lack of GUI support for do such thing on without desktop lite os rpi.

@Jayrajghoniya
Copy link

I've tried also tried on legacy OS but still facing the same issue. I've tried hard and also search on google but found nothing on this please help me on this.

@Jayrajghoniya
Copy link

I've tried flutter pi on rpi os 64 bit with desktop environments and use xrandr to rotate display and works fine on it by on rpi os 64 bit lite with no desktop the issue is still there editing config.txt, cmdline.txt, using system.setpreferedorientation from flutter nothing works but by explicit rotate using flutter-pi -o portrait_up it rotates but the mouse are is being limited to half and also even in the half of the region of the cursor is on the button but it's not actually there so after clicking on it the button don't work.

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