Closed FlamedDogo99 closed 4 months ago
Well Iāve ran into some dead-ends for working on this one. First of all thereās no BlueStacks build for M2 Macās so I canāt replicate this issue. Additionally, because the cursor isnāt event blinking in the textbox, it means that thereās something going wrong internally with the Eagler client, instead of it just being an issue with how Android does key events.
I did notice that the client does have focus
, blur
and onMouseEnter
event listeners, so Iāll see if simulating those firing like a non-mobile device changes anything. Again, itās just hard to diagnose without being able to identify or replicate the underlying the problem.
Edit: I've managed to get Android studio set up, so this may not be a problem anymore
Because Android doesn't dispatch keyboard events correctly, my suspicion is that it isn't dispatching mouseenter
and focus
events correctly either. In theory this could be why the client isn't accepting inputs. #14 handles dispatching these events in hope of getting the client to function correctly. If someone could test this, it would be greatly appreciated.
Update: I managed to get Android Studio set up, and Iāve made some progress on fixing this issue, but it is a mess.
input
event, it uses insertCompositionText
instead of insertText
, and instead of returning the updated value, it returns the entire string.With how inconsistent everything is, Iām struggling to find a workable solution.
wait if your on android then hear me out. pojavlauncherā¦ it has controller support and can run the latest version
I mean its not eaglercraft and we are speaking currently about eaglercraft
Because Android doesn't dispatch keyboard events correctly, my suspicion is that it isn't dispatching
mouseenter
andfocus
events correctly either. In theory this could be why the client isn't accepting inputs. #14 handles dispatching these events in hope of getting the client to function correctly. If someone could test this, it would be greatly appreciated.
One minute leme push it to client and test
I got this new "fix" and now mobile buttons and stuff wont even appear
I have no clue how I need to open F12 to send you errors
I am not sure if this is possible. Androidās doesnāt just handle keyboard input differently than other devices, it handles it inconsistently.
This is extremely discouraging, because it means that thereās no solution that we can guarantee will work for every different way that itās inconsistent.
Iāll keep working with this, but the solution may just be adding a check that will tell users if their device isnāt supported.
Itās not the answer I was hoping for, but it might be all we can get until Android fixes the multitude of broken things on their end.
This should be fixed with #20, tested with Android Studio on:
Describe the Bug Reported by @Realplurr:
Steps to Reproduce
š¬
button on the top row of buttonsāØļø
button on the top row of buttonsAdditional Information Browser google and chrome. Latest version available from google play market. Phone redmi 8 using google keyboard and android version 10, MIUI 12.5.3 (stable version)
There is also no blinking "_" when opening the chat