mojira.dev
MC-121376

Cannot bind "caps" key in control settings

As in the title.
You cannot bind the caps key in the control settings.

Attachments

Comments

pokechu22

Doesn't happen on PC, so this is probably a LWJGL issue (which would still be valid). Going to take a look.

EDIT: Can't find an existing LWJGL report. Did binding caps work correctly in Minecraft 1.12.2?

migrated

Maybe only for macOS. At least it worked on pre 1.12 versions, and I used it many times.

Avakining

To answer @unknown, it did work correctly in 1.12.2

Avakining

Still happens in MacOS 10.13.2 and snapshot 18w01a

Avakining

Still happens in 18w03a

Avakining

Still occurs in 18w10d.

Avakining

Still occurs in 18w11a

Avakining

Still occurs in 18w15a

Avakining

Still occurs in 18w16a

Avakining

Still occurs in 18w19a

migrated

Same here, using MacOS (10.12.6), still occurs in 18w21a.

Avakining

Still occurs in 1.13pre-1

migrated

Still occurs in 1.13pre-2, but I have figured something. I configured my controls in 1.12, and bound Capital as the Sneak button. Then I updated to 1.13pre-2 and in my control page, the sneak button is now called "Caps Lock"

Except it still doesn't work in game. So my guess is that the game still thinks the caps key is the one to sneak, but Caps Lock doesn't really exists as a keyboard key. By the way, if I try to change the key while playing in 1.13, the game won't be able to recognize my capital key as caps lock. So there isn't any known way to bind the Caps key as a control key... Hope all this made sense, I'm french so my english might be br0ken.

wobst.michael

Can someone please check if this is still an issue in -pre4?

migrated

Yes it is, still occurs in 1.13pre-4 😞

Avakining

Continues to occur in 1.13-pre6

pokechu22

@@unknown I'm assuming you meant to link to https://www.youtube.com/watch?v=HaXC7Al_dWc instead of attaching it? I'll add a web link to that video.

migrated

It's still not fixed now that the official release is out.

migrated

@@unknown: 1.13 is already marked as affected. Please check the affected versions before confirming an issue.

Avakining

Still occurs in 18w31a

Avakining

Still occurs in 18w32a

migrated

Still occurs in 1.13.1-pre1.

Avakining

Still occurs in 1.13.1-pre2

migrated

Still occurs in 1.13.1

Avakining

Still occurs in 1.13.2-pre1

Avakining

Still occurs in 1.13.2-pre2

Avakining

Still occurs in 1.13.2

Avakining

Still occurs in 18w43b

Avakining

Still occurs in 18w44a

Avakining

Still occurs in 18w45a

Avakining

Also affects macOS 10.14 and 10.14.1.

Avakining

Still occurs in 18w46a

Avakining

Still occurs in 18w47a and 18w47b

Avakining

Still occurs in 18w48a

Avakining

Still occurs in 18w48b

Avakining

Still occurs in 18w49a

Avakining

Still occurs in 18w50a

Avakining

Still occurs in 19w02a

Avakining

Still occurs in 19w03c

Avakining

Still occurs in 19w04b

Avakining

Still occurs in 19w05a

Avakining

Still occurs in 19w06a

migrated

This is incredibly frustrating as while not entirely intended, Caps Lock is the only way to continually hit a button while AFK and not stop when the window isn't selected. It can also be force-bound by the options file but pressing the button yields nothing.

Avakining

Still occurs in 19w07a

Avakining

Still occurs in 19w08a and 19w08b

Avakining

Still occurs in 19w09a

Avakining

Still occurs in 19w11a

Avakining

Still occurs in 19w12a

Avakining

Still occurs in 19w12b

Avakining

Still occurs in 19w13a

Avakining

Still occurs in 19w14a

Avakining

Still occurs in 1.14 Pre-Release 1

Avakining

Still occurs in 1.14 Pre-Release 2

Avakining

Still occurs in 1.14 Pre-Release 3

Avakining

Still occurs in 1.14 Pre-Release 4 & 5

Avakining

Still occurs in 1.14

Avakining

Still occurs in 1.14.1 Pre-Release 1

Avakining

Still occurs in 1.14.2

Avakining

Still occurs in 1.14.3 pre-1

Avakining

Seems to be fixed in 1.14 pre-3!

 

Others may want to test, however.

pokechu22

Can you please check 1.14.3-pre2? They switched to LWJGL 3.2.2 in that version (it was 3.2.1 in 1.14.3-pre1).

Avakining

It also seems fixed in 1.14.3 pre-2

pokechu22

Great, thanks.

The relevant GLFW fix is in #1373, which was fixed in GLFW 3.3 (which LWJGL 3 updated to). There's also issue #1368 which says that it's possible to get a check for when Caps Lock is enabled/disabled, but it's harder to handle it as an actual key. To my understanding, you mac people are used to having Caps Lock act as a key that's held down when it's on (so you keep shifting), which is the behavior they just reimplemented. (I should note that at least the last time I checked, other platforms use it as a real key so you don't get this hold effect. But if it's back to the state you're expecting, that's probably the fix you wanted in the first place.)

Avakining

Affects 1.14.4 and 19w34a, despite 1.14.3 fixing it. Please reopen.

Avakining

Affects 19w35a

Avakining

Affects 19w36a and 19w37a

Avakining

Affects 19w38a and 19w38b

Avakining

Affects 19w39a

Avakining

Affects 19w40a

Avakining

Affects 19w41a

pokechu22

To my understanding, the underlying complaint here was that you could no longer bind a key that toggled sneak (which caps lock happened to do on macOS prior to LWJGL 3, though not on other platforms IIRC). If I'm not remembering wrong, I'm pretty sure they added an option to specify sneak and sprint as toggleable keys in 19w41a. So while you still presumably can't use caps lock, you can emulate the effect you were originally looking for with another key.

Avakining

@Pokechu22 It's still in the wrong place on the keyboard for what I'm used to (and presumably other people).

migrated

@Pokechu22 While it's true that toggle was added for shift, that's not the only use for the caps key. You're still unable to say "toggle" the right-click (or any other) action.

Avakining

Affects 19w42a

Avakining

Affects 19w44a, 19w45a, 19w45b, 19w46a, 1.15-pre1, 1.15-pre2, 1.15-pre3, 1.15-pre4

Avakining

Also affects 1.15-pre5, 1.15-pre6, 1.15-pre7, 1.15, 1.15.1-pre1

pokechu22

Note that we can't easily set older affected versions, only the most recent ones (it's possible to manually do it via the API, but if it's something that would be clearly covered by another span, there isn't much of a point; it's only worth it if there's specific versions in between doesn't happen in, which is unlikely here)

Avakining
  1. Noted

  2. Affects 1.15.1

Avakining

Affects 1.15.2-pre1

Avakining

Affects 1.15.2-pre2

migrated

Bug does not occur on windows or linux systems, I believe.

Mac is the only platform affected by this problem.

[media]

Try changing your keyboard settings. Above is a photo of keyboard settings. I am a windows user because apple blows.

Avakining

Change it to that or from that? Mine (and the default) is set to this:

[media]

Changing it to how that screen shot is does two things:

  1. Disables caps lock entirely

  2. Does not fix the issue

Avakining

Affects 1.15.2

Avakining

Affects 20w06a

Avakining

Affects 20w07a

Avakining

Affects 20w08a

 

Avakining

Affects 20w09a

Avakining

Affects 20w10a

Avakining

Affects 20w11a

Avakining

Affects 20w12a

Avakining

Affects 20w13a

Avakining

Affects 20w13b

Avakining

Affects 20w14a

Avakining

Affects 20w15a

Avakining

Affects 20w16a

Avakining

Affects 20w17a

Avakining

Affects 20w18a

Avakining

Affects 20w19a

Avakining

Affects 20w20b

Avakining

Affects 20w21a

Avakining

Affects 20w22a

Avakining

Affects 1.16-pre1

Avakining

Affects 1.16-pre2

Avakining

Affects 1.16-pre3

Avakining

Affects 1.16-pre4

Avakining

Affects 1.16-pre5

Avakining

Affects 1.16-pre6

Avakining

Affects 1.16-pre8

Avakining

Affects 1.16-rc1

migrated

I no longer use Mac as my main gaming machine, so I would like Avakining to be the reporter of this bug.

Avakining

Affects 1.16.1

Avakining

Affects 20w27a

Avakining

Affects 20w28a

Avakining

Affects 20w29a

Avakining

Affects 20w30a

Avakining

Affects 1.16.2-pre1

Avakining

It's worth noting (I think because of this change) that any installation of Minecraft Forge since 1.14.3-27.0.0 has fixed this bug.

Could it be possible for something similar to be incorporated into vanilla?

Avakining

Affects 1.16.2-pre2

Avakining

Affects 1.16.2-pre3

Avakining

Affects 1.16.2-rc1

Avakining

Affects 1.16.2

Avakining

Fixed in 22w16a, likely due to LWJGL being updated to 3.3.1

anthony cicinelli

I can confirmed fixed in 22w16a

Avakining

(Unassigned)

Confirmed

Normal

Input

Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w50a, ..., 1.18.2, 22w11a, 22w12a, 22w13a, 22w14a

Minecraft 1.14.3 Pre-Release 2, 22w16a

Retrieved