ChristopherHX / mcpelauncher-manifest

EOL use ng, https://github.com/minecraft-linux/mcpelauncher-manifest/tree/ng, This works with 0.12 - 1.16.10.x (excl. beta 1.16.0.67/68), This won't work with the current 1.16.20-200 Versions
GNU General Public License v3.0
219 stars 21 forks source link

No mouse cursor ingame or in file selector #150

Open clebercasali opened 4 years ago

clebercasali commented 4 years ago

I can't see the mouse cursor while the game is running. Not sure if this is intentional, because it looks like the Android version of the game doesn't support mouse. But it's specially hard to use the "import" skin feature, because I have to navigate the file selector only using the keyboard, with the game window out of focus, and this usually crashes the game.

ChristopherHX commented 4 years ago

More Information needed: This isn't intentional, selecting files only with keyboard is a mess. For me the mouse isn't hiding while importing skins.

Which OS? (Linux, macOS) Which Launcher variant? (AppImage, Flatpak, dmg) Which Launcher version? (fork, ng-v0.1p4) Which Minecraft Version? (1.16.40.*)

If you are on Linux, I also need this Which Desktop Environment? (gnome, kde, etc.) Gnome works for me Which Distro? (ubuntu, archlinux, etc.) ubuntu 20.04 works for me

ChristopherHX commented 4 years ago

with the game window out of focus, and this usually crashes the game

It doesn't crash there for me either, if the game window go out of focus.

I tested in the past changing focus and the virtual desktop 20+ times while in game, never crashed on my system.

clebercasali commented 4 years ago

Hey!

Which OS? (Linux, macOS)

Linux

Which Launcher variant? (AppImage, Flatpak, dmg)

Flatpak

Which Launcher version? (fork, ng-v0.1p4)

I think it's fork, but I'm not sure. How can I confirm?

Which Minecraft Version? (1.16.40.*)

1.16.40.02

Which Desktop Environment? (gnome, kde, etc.)

LXQt

Which Distro? (ubuntu, archlinux, etc.)

Lubuntu 20.04

ChristopherHX commented 4 years ago

Ok, I will try to reproduce this. Never tested it against lxqt

ChristopherHX commented 4 years ago

The Launcher versions isn't needed as its the flatpak version

clebercasali commented 4 years ago

I think I have figured it out. It only happens when the gamepad is connected.

ChristopherHX commented 4 years ago

Oh I get your problem. The game tells the lancher to hide the cursor while it gets gamepad input. Yes this happens on all variants of the launcher. Not quit shure what to do about that.

gamepad input is broken in that flatpak version, so your crashs on window switch

clebercasali commented 4 years ago

Got it. Could it suspend gamepad input and release the mouse when it moves? Or alternate between gamepad/mouse by trapping some key or key combination?

ChristopherHX commented 4 years ago

Yes that could be implemented and would improve usablility of the Launcher.

For the time beeing, if you want to use mouse while a gamepad is connected run this before open the launcher In flatpak you can ignore gamepads with sudo flatpak override --nodevice=all io.mrarm.mcpelauncher revert with sudo flatpak override --reset io.mrarm.mcpelauncher

clebercasali commented 4 years ago

Great! Thank you!