mojira.dev
MC-160715

The on-screen keyboard can no longer be used as of 1.13; the cursor centers itself regardless of location.

Ever since Minecraft version 1.13, I've been completely unable to play because of a change in how the game interacts with the cursor. Specifically, whereas I'm used to being able to have the cursor over Windows' On-Screen Keyboard and click keys that way (something I have to do in order to compensate for a disability), that no longer seems to be possible as it once was, because the cursor gets centered (in the process of "aiming" where Steve is supposed to look) regardless of its location on the screen. I've been told by various sources, including a prominent mod developer as well as one of your own support representatives, that this is likely due to the update to LWJGL3 that, among other things, defined some undefined behavior, but I still consider it a bug because it essentially "fixed" something that wasn't "broken", per se, in the process making the game unplayable for me.

Worth noting, this is a high enough priority issue to me that, were I a bit more competent with Java (and for that matter, programming in general... I'm a bit of a novice), I would attempt to write a coremod to override whatever part of LWJGL is causing this. As is, however, I'd probably end up making things worse and just crashing the game repeatedly. It's really a pity, considering a lot of the new content (bees, raids, etc.) looks really cool... please help ๐Ÿ˜ž

What I expected to happen was...:
The mouse cursor would stay in place when it is over the on-screen keyboard, regardless of whether I'm in a menu or not. It used to work like this prior to 1.13, but according to sources including a prominent mod developer and your own support, this likely changed because of the update to LWJGL3

What actually happened was...:
Instead of the above, the mouse cursor resets before I can click any keys on the on-screen keyboard, making it completely useless and preventing me from being able to play due to my spinal cord injury.

Steps to Reproduce:
1. Load up any version of Minecraft post-1.13 release
2. open the On-Screen Keyboard that is built into Windows' "Ease of Access center"
3. Place the on-screen keyboard over Minecraft such that the Windows overlap
4. load up a world and try to click the WASD keys on the on-screen keyboard to move around (you won't be able to)

Attachments

Comments 14

Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.

@miwob Done. It took a bit of finagling, both on account of my injury and because for some reason my physical keyboard won't send that keystroke combination. I had to hold F3 on the on screen keyboard (while the game was paused on account of the bug I'm reporting here, no less!) and have someone press and hold C on my wireless keyboard. It was quite the orchestration (story of my life sometimes...), but nonetheless, it's done ๐Ÿ™‚

So on a scale of 1 to 10, how likely is this to get fixed, or at least looked at/worked on, in the foreseeable future? Don't get me wrong, I understand you have limited resources, but contrary to what you might think, this doesn't just affect me. Other people affected by this bug include but are not limited to: the other players on the private server I host, developers that receive 1.12 bug reports from me because that's the most recent version I can play on, and anyone I tell about how long it's taking to resolve this issue (a number that increases the longer it takes).
Edit: Sorry if I seem to be pushing this too hard, but to be fair, I've been dealing with this issue since 1.13 came out. The only reason it took so long to open an issue on here for it is that I thought one would have already been opened after I reported it to your email support and explained in great detail that "basically, I can't play". I don't like being obnoxious, but I also don't like bugs that sit for eternity and prevent me from enjoying all the new features you've been adding

This forge mod I found for 1.12 might have a piece of the puzzle to fixing this, but as it's for an older version of the game (before I started experiencing this problem), I'm not sure how applicable it actually is. Nonetheless, if/when you get around to trying to fix this, it might be worth taking a look, since it's open source and all: https://www.curseforge.com/minecraft/mc-mods/ungrab-mouse-mod

Wow, this is really unfortunate.
I find it amazing that you were actually able to play with a keyboard covering half your screen.

As Minecraft did actually improve quite a bit in terms of accessibility recently, maybe the developers will look into this at some point in the future.

Unfortunately, this will probably not be an easy fix, as it is, as you stated already, likely related to the library update.

4 more comments

Yes, please make new tickets for separate issues.

Just to clarify/summarize, this issue is at least partially resolved for Java Edition (JE) because I can disable raw input and it stopped happening, but I have the same basic problem on Bedrock Edition for Windows 10. Is there a way this can be linked so it shows up on the BE tracker?

It might also depend on the operating system for JE.
Bedrock Edition is separate from Java and has its own ticket numbers and a different development team. Because of this, issues that happen in both editions have to be tracked in separate issues. So please create a new ticket for the Bedrock Edition.

Can confirm in 20w51a.

macks2008

(Unassigned)

Confirmed

Platform

Important

Accessibility, Input

accessibility, compability, interface

1.14.4, 19w40a, 20w51a

Retrieved