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

未关闭
#1,033 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@isXander 已经在做这个了。

开始于 2026年12月1日。

评估

这个 Issue 还没有评估数据。

描述

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.
主要语言
Java
星标
361
派生
112
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

isXander/Controlify 的其他 Issue

查看 isXander/Controlify 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。