Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-189700

The Search Items tab of the creative inventory is always in focus and cannot be deselected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Pre-release 5, 20w30a, 20w51a, 1.20.6, 24w20a
    • Confirmed
    • UI

      The text box in the creative mode "Search Items" tab cannot be deslected, making it always focussed for the player. This will put any key press the player enters into the search bar, disallowing the player to opt out of this behavior in any way by deselecting the search bar. This is also irregular behavior when compared to other search bars like the social interactions screen, and the crafting recipe book which both can be intentionally deselected by clicking on buttons, or items.

      Steps to Reproduce:

      1. In creative, open your inventory
      2. Go to the "Search Items" tab
      3. Enter any text into the box
        (Works as expected)
      4. Left or right on one of the following:
        1. An empty slot
        2. A filled slot
        3. The outside of the GUI

      Observed Behavior:

      No matter what the player presses, their focus will always be kept on the search bar box. Because of this, any key presses which have functionality (like the number keys MC-189975, or F key for the off hand) will not function as expected.

      Expected Result:

      When the player clicks on something that isn't the search bar itself, the focus would be lost. The player would be able to choose when they want to enter text, instead of always being allowed/forced to.

      Screenshots/Videos:

      CreativeSearch.mp4

      Notes:

      Related to MC-189700

        1. 1.png
          1.png
          256 kB
        2. 2.png
          2.png
          261 kB
        3. CreativeSearch.mp4
          522 kB

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: