Narrator is toggled when typing in text fields
The bug
Typing in text fields can toggle the narrator. This is especially problematic for keyboard layouts where Ctrl + B (shortcut for toggling the narrator) is used to write a different character, for example Czech, Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards where the way to type "{" is Ctrl + Alt + B, or Alt Gr + B.
How to reproduce
- Switch your keyboard language to any of the stated above, Czech for example.
- Open the chat.
- Press Ctrl + Alt + B
I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that would at least be a workaround.
Created Issue:
Typing { toggles narrator
Trying to type the curly bracket character "{" on some keyboards leads to the narrator getting turned on.
I am Czech and that is what my keyboard language is set to. On the Czech keyboard (and also Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards), the way to type { is Ctrl+Alt+B, or Alt Gr+B. The shortcut for toggling the narrator is Ctrl+B, and those two collide with each other.
What I expected to happen was...:
I was typing a command and was just about to add some NBT data, so I typed the { character.What actually happened was...:
The character appeared as normal, but the narrator was swiched on along with it.Steps to Reproduce:
1. Switch your keyboard language to any of the stated above, Czech for example.
2. Open the chat.
3. Press the Ctrl+Alt+B keys.I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that is what would fix the problem.
Environment
Windows 10, Java 1.8.0_25 64bit
Trying to type the curly bracket character "{" on some keyboards leads to the narrator getting turned on.
I am Czech and that is what my keyboard language is set to. On the Czech keyboard (and also Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards), the way to type { is Ctrl+Alt+B, or Alt Gr+B. The shortcut for toggling the narrator is Ctrl+B, and those two collide with each other.
What I expected to happen was...:
I was typing a command and was just about to add some NBT data, so I typed the { character.What actually happened was...:
The character appeared as normal, but the narrator was swiched on along with it.Steps to Reproduce:
1. Switch your keyboard language to any of the stated above, Czech for example.
2. Open the chat.
3. Press the Ctrl+Alt+B keys.I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that is what would fix the problem.
Trying to type the curly bracket character "{" on some keyboards leads to the narrator getting turned on.
I am Czech and that is what my keyboard language is set to. On the Czech keyboard (and also Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards), the way to type { is Ctrl+Alt+B, or Alt Gr+B. The shortcut for toggling the narrator is Ctrl+B, and those two collide with each other.
What I expected to happen was...:
I was typing a command and was just about to add some NBT data, so I typed the { character.What actually happened was...:
The character appeared as normal, but the narrator was swiched on along with it.Steps to Reproduce:
1. Switch your keyboard language to any of the stated above, Czech for example.
2. Open the chat.
3. Press the Ctrl+Alt+B keys.I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that is what would fix the problem.
Windows 10, Java 1.8.0_25 64bit
Typing { toggles narratorNarrator is toggled when typing in text fields
Trying to type the curly bracket character "{" on some keyboards leads to the narrator getting turned on.
I am Czech and that is what my keyboard language is set to. On the Czech keyboard (and also Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards), the way to type { is Ctrl+Alt+B, or Alt Gr+B. The shortcut for toggling the narrator is Ctrl+B, and those two collide with each other.
What I expected to happen was...:
I was typing a command and was just about to add some NBT data, so I typed the { character.What actually happened was...:
The character appeared as normal, but the narrator was swiched on along with it.Steps to Reproduce:
1. Switch your keyboard language to any of the stated above, Czech for example.
2. Open the chat.
3. Press the Ctrl+Alt+B keys.I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that
is what would fix the problem.The bug
Typing in text fields can toggle the narrator. This is especially problematic for keyboard layouts where Ctrl + B (shortcut for toggling the narrator) is used to write a different character, for example Czech, Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards where the way to type "{" is Ctrl + Alt + B, or Alt Gr + B.
How to reproduce
- Switch your keyboard language to any of the stated above, Czech for example.
- Open the chat.
- Press Ctrl + Alt + B
I tried tinkering with the options but I could not find a way to disable the narrator completely or change the shortcut used to toggle it. If there is a way to achieve any of the two, let me know. In any case, that would at least be a workaround.
is duplicated by
relates to
is cloned by
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-117004.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
The bug
Typing in some text fields can toggle the narrator. This is especially problematic for keyboard layouts where Ctrl + B (shortcut for toggling the narrator) is used to write a different character, for example Czech, Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards where the way to type "{" is Ctrl + Alt + B, or Alt Gr + B.
Affected text fields
This affects all but the "last" text field in all GUIs that have more than 1 text field:
- Command block: command field
- Same for command block minecarts
- Structure block:
- All fields other than "Seed" in load mode
- All fields other than the 3rd size in save mode
- The Server Address field when editing/adding a server
- All fields other than "Main Noise Scale X" on Extra Advanced Settings in customize world settings
These are also affected, but are caused by not using GuiTextField (and thus would need a different, albeit still simple) fix:
- sign
- writable book: title and pages
How to reproduce
- Open one of the GUIs listed above
- Click on one of the text fields matching the description above (this is required even if the text field is already focused)
- Press Ctrl + B
Cause
This is caused by the fix to MC-117004 being implemented in a per-GUI manner. Rather than the GUI polling each text field to see if it's focused, when a text field changes focus, it updates the boolean as to whether there are any in the GUI that are focused to match its value. This, combined with the fact that text fields set their focus to false whenever there's a click outside of them (even if they aren't currently focused) means that the value effectively only matches whether the last text field is focused (with a special case when the GUI is first loaded).
The ideal fix would be to go through all text fields and see if they are focused (which isn't performant, but since this check is only performed for narrator, wouldn't be too significant). However, as-is that isn't easy since there is no list of text fields on a GUI (they're handled manually).
For signs and written books, the check method could be directly overridden to always return true.
This is same problem as MC-117004, but in 1.14 snapshots.
Typing in text fields can toggle the narrator. This is especially problematic for keyboard layouts where Ctrl + B is used to write a different character, for example Czech, Slovak, Hungarian, Croatian, Slovenian, Serbian and a few other Slavic language keyboards where the way to type "{" is Ctrl + Alt + B, or Alt Gr + B.
Please do not mark unreleased versions as affected.
You don't have access to them yet.
I am going to make the report more generic since the narrator should probably not be toggled at all when typing in text fields.
Re-open it. It's also in snapshots for 1.14 for example 19w11b.