[Bug] On-screen keyboard Enter shortcut (`controlify:pause`) never triggers on screens
@isXander がすでに取り組んでいます。
2026年12月1日 から。
評価
この issue はまだ評価されていません。
説明
Current Behaviour
When typing with the on-screen keyboard (e.g. in ChatScreen), the Enter key displays the Menu/Start button shortcut icon, but pressing Menu/Start does nothing. You have to manually move focus onto the Enter key and press Confirm to submit.
Expected Behaviour
Pressing the Menu/Start shortcut while the on-screen keyboard is open should trigger the Enter key (e.g. send the chat message and close chat) without opening the pause menu on button release.
Screenshots
No response
Reproduction Steps
- Join a world with a controller connected.
- Open chat (or another screen with the on-screen keyboard) and type a message.
- Press the Menu/Start button shown as the Enter key shortcut.
- Observe that nothing happens; Enter only works when manually focused and pressed.
Logs
Mod Version
4.0.0-beta.1+mc26.3 (Fabric)
Controller
Xbox
Bluetooth
- Yes
Operating System
Windows
ARM
- Yes
Additional Information
Root cause:
All three built-in keyboard layouts (full/en_us.json, simple/en_us.json, server_ip/en_us.json) set Enter's "shortcut" to "controlify:pause".
However, ControlifyActions.PAUSE is registered only in BuiltinActionLayers.IN_GAME, which is blocked by BuiltinActionLayers.ANY_SCREEN (BLOCKING) whenever any screen is open, so the shortcut can never fire on screens.
Adding REGULAR_SCREEN directly to controlify:pause looks risky as well: pause uses a pulse (tap) activator, and unconsumed pulses queued on non-keyboard screens could trigger pauseGame once the screen closes.
Suggested fix:
Point the keyboard layouts (and FallbackKeyboardLayout) to a span action on REGULAR_SCREEN default-bound to controlify:button/start — either a dedicated action (e.g. controlify:gui_keyboard_enter) or a new gui_abstract_action_4 (matching Backspace/Space/Shift which use gui_abstract_action_1/2/3).
I tested the dedicated REGULAR_SCREEN action locally on 26.3 and confirmed Enter works properly without leaking button release to controlify:pause. Let me know which approach you prefer — happy to open a PR if you'd like.
Just to make sure...
- I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
- I have made sure there are no other issues describing the same problem on the issue tracker.
- 主要言語
- Java
- スター
- 361
- フォーク
- 112
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
isXander/Controlify のほかの issue
-
mod-compatibility
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
isXander/Controlify#1029 ·
-
[Bug] Focus loss on menu change or virtual keyboard / potential false inputs対応中かも @isXander が 3 日前に担当しました。 オープンbug
isXander/Controlify#1033 · 担当者 1 名 ·
-
[Bug] no working on 26.2対応中かも @isXander が 3 日前に担当しました。 オープンbug
isXander/Controlify#1032 · コメント 3 件 · 担当者 1 名 ·
-
[Bug] conlrolify対応中かも @isXander が 4 日前に担当しました。 オープンbug
isXander/Controlify#1030 · 担当者 1 名 ·
-
[Bug] Controlify blocking mouse and keyboard inputs対応中かも @isXander が 5 日前に担当しました。 オープンbug
isXander/Controlify#1028 · コメント 1 件 · 担当者 1 名 ·
isXander/Controlify の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SmartPack/PackageManager#186 ·
-
Area: Java feature request needs triage OS: Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
actions/runner-images#15457 ·
メンテナーはふだん 3 日以内に返信
-
iOS CocoaPods build fails: Package.swift included in sources causes No such module 'PackageDescription'対応中かも @dattm97 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MewX/light-novel-library_Wenku8_Android#253 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jarvis2f/telegram-files#160 ·