Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Bug] Unable to Backspace in Search Bar if recipe windows are open

MuteTiefling opened this issue · 7 comments

commented

What happened?

  1. Open REI
  2. Check Recipes for any item
  3. Type a new search
  4. Attempt to clear that search
  5. Note that it has to 'back up' through all open recipe panes first before Backspace will delete characters

Mod Versions
REI: RoughlyEnoughItems-9.1.530
Forge: 41.1.0

What mod loaders are you seeing the problem on?

Forge

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

https://gist.github.com/MuteTiefling/db7cdb96da95196376693327b9734fc4

Anything else?

No response

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

  • Yes, and I did not use any paste services other than GitHub Gists.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

  • Yes
commented

Are we sure this is a bug and not a feature?

commented

This is a bug

commented

This also affects 1.18 on Fabric/Quilt.

commented

It IS a bug, not a feature.

The reason is that pressing "backspace" goes back in recipes even when the search bar is in focus with the cursor blinking.

So let's say you're browsing through several recipes. You won't be able to write in the search bar. You have to exit the recipes entirely.

The whole problem is handling it differently when you're focusing on the search bar, or not. If I'm browsing through recipes the search bar is NOT in focus, or if I press "R" rather than looking up a recipe for the item it would write R on the search bar.

commented

Adding to this without opening an issue for something more trivial: if you move the search bar to the center, big tooltips end up rendering behind the search bar, rather than one layer above.

commented

Just adding onto other comments as well, for people coming across this issue, you can work around it by right-clicking the search box instead of using backspace. Right clicks clear the search box completely, allowing you to type another search term

commented

Awesome, thank you for the fix!