[Bug] Focus loss on menu change or virtual keyboard / potential false inputs

Đang mở
#1,033 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@isXander đang làm issue này rồi.

Từ ngày 1/12/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug
Current Behaviour

On 26.3 and when changing certain menus or opening the virtual keyboard, the game loses focus on the controller and returns back to the normal keyboard and mouse mode. This makes it impossible to enter text during world creation or anything with a text prompt.

Expected Behaviour

Changing menus or opening the keyboard will not lose focus and revert to keyboard and mouse mode, allowing to enter text as normal just as the 26.2 version.

Screenshots

A video is more applicable. The first loaded instance is on 26.3 with the problem present, the second instance is on 26.2 with expected behavior. Both instances are fresh:

https://youtu.be/SJ2vZRyyj_0

Reproduction Steps
  1. Load the game
  2. Using your controller, navigate to 'Singleplayer' and select it
  3. At this point, if you have given no other input the game will revert to mouse and keyboard mode. Pressing any controller button will revert back to controller mode.
  4. Navigate to and select the 'Create New World' screen.
  5. As with step 3, the game will now revert back to keyboard and mouse mode. Any controller input will revert it.
  6. Navigate to the world name and select it to open the keyboard.
  7. Any text entered by the keyboard is ignored, as the game seems to have lost focus on the text prompt.
Logs

Mod Version

3.5.1, 3.5.2, 3.5.3, 4.0.0-beta.1, all for 26.3 Fabric and NeoForge

Controller

Steam Controller (2026) and DualSense

Bluetooth
  • Yes
Operating System

Linux/SteamOS

ARM
  • Yes
Additional Information

The checkbox below was required to be checked, but this may be a duplicate of #1013. Although I wasn't entirely sure and wanted to give more details to help troubleshoot.

I believe this may be some sort of false input issue, where certain actions with a controller can read as keyboard and/or mouse inputs. I have even unplugged my keyboard and mouse just to make sure they weren't the problem only to get the same results. It may also be related to an under the hood change made in 26.3, considering that all 26.3 versions of Controlify (including Fabric and NeoForge) are affected but 26.2 and below versions aren't.

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.
Ngôn ngữ chính
Java
Star
361
Fork
112
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của isXander/Controlify

Tất cả issue của isXander/Controlify

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.