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

[Crostini Bug Fix] Mouse controls restricted on Chromebook #119

Open
Andrew-J-Larson opened this issue Jul 20, 2020 · 6 comments
Open

[Crostini Bug Fix] Mouse controls restricted on Chromebook #119

Andrew-J-Larson opened this issue Jul 20, 2020 · 6 comments
Labels
documentation Improvements or additions to documentation

Comments

@Andrew-J-Larson
Copy link

Using the Linux (Beta), installing the mcpe launcher was no problem at all. However while playing the game, it seemingly likes to restrict mouse movement at certain points while turning around and such. With unmodified sensitivity settings, it's almost like it restricts mouse movement at about 360° in left and right directions. Putting the sensitivity higher allows for about 1-2 revolutions before it starts restricting again.

For the Chromebook specs, it's using an Intel Celeron x86_64 (not arm) so I've been using the Debian amd64 builds.

If you need more information or some sort of logs, feel free to comment.

@ChristopherHX
Copy link
Owner

restrict mouse movement at certain points while turning around and such

Awful Chrome OS Linux Beta bug? No I won't plan buy one.
Or it is a feature to keep you away from the following x11 feature or bug.

Also x11 is so buggy e.g.
Debug the launcher while mouse is locked (ingame)
break on a breakpoint ( gdb debugger)
ide is showing over the Minecraft window (hides it completely)
Then the bug, where is my mouse???
...x11 is so buggy...
imaging debugging without a cursor

This may happen randomly thanks to x11.

@Andrew-J-Larson
Copy link
Author

So you're saying that maybe the mouse is hitting the edges of the window when trying to look around, even though it appears to hide the mouse as normal?

@ChristopherHX
Copy link
Owner

I mean on x11 with plain ubuntu 20.04 not ChromeOS (linux beta), I cannot confirm your weird ChromeOS behaviour.
I can rotate my view endless (very fast) without hitting the window borders ca. 10 * 360° + without problems on real x11 linux.
Even made the window very small, still not getting your problem.

I can't and don't want to change the behaviour of your window system, Chrome OS has it's own or just another one.

@Andrew-J-Larson
Copy link
Author

I guess it's nothing wrong with the Linux app at all.

I did some more research and it turns out to be an issue with how permissive Crostini is when it comes to pointer-locks in Linux apps.

It suggests turning on a flag (chrome://flags/#exo-pointer-lock), which I'll have to try out later to see if it fixes the issue I'm having.

@Andrew-J-Larson Andrew-J-Larson changed the title [BUG] Mouse controls restricted on Chromebook [Crostini Bug (can be ignored and maybe closed)] Mouse controls restricted on Chromebook Jul 22, 2020
@sal-melliculus
Copy link

Enabling mouse capture flags worked for me, but I have both #enable-pointer-lock-options & #exo-pointer-lock enabled. Though #exo-pointer-lock should be the only one affecting a linux program.

@Andrew-J-Larson Andrew-J-Larson changed the title [Crostini Bug (can be ignored and maybe closed)] Mouse controls restricted on Chromebook [Crostini Bug Fix] Mouse controls restricted on Chromebook Jul 24, 2020
@Andrew-J-Larson
Copy link
Author

@ChristopherHX maybe since now we know how to fix the issue with the mouse, this thing should be closed, but with information about the bug added in the wiki/how to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants