sp614x / optifine

1.81k stars 418 forks source link

[Controls] Compound Keybinding for mouse buttons unable to function #6535

Open BlazingImp77151 opened 2 years ago

BlazingImp77151 commented 2 years ago

Description of Issue

The compound keybinding bug that prevented adding "shift" or "control" modifiers to keybinds while fixed for normal keybinds, still is broken for mouse keybinds on 1.18.1

Steps to Reproduce

  1. Open the game with optifine installed
  2. find that all my keybinds are messed up from trying to use the non-preview version
  3. look up the issue and find I need to use the preview version to fix it
  4. switch to the "OptiFine HD U H5 pre4" version.
  5. fix my keybinds
  6. reach the JEI cheat mode keybinds.
  7. attempt to fix them to use modifier keys with mouse buttons.
  8. doesn't work

OptiFine Version

OptiFine HD U H5 pre4

Installation Method

Downloaded it off the optifine website and deposited it into my mods folder. using GD launcher.

Fabric/Forge Version

Forge / 1.18.1 / 39.0.9

Other Installed Mods

AI Improvements-1.18-0.4.0 appleskin-forge-mc1.18-2.2.0 AutoRegLib-1.7-52 balm-2.4.0+0 BetterTitleScreen-1.18-1.12.0 Clumps-forge-1.18.1-8.0.4 configured-1.5.1-1.18.1 create-mc1.18.1_v0.4b FarmersDelight-1.18.1-1.0.0 FastFurnace-1.18.1-6.0.1 FastWorkbench-1.18.1-6.0.0 flywheel-forge-1.18.1-0.5.0a Jade-1.18-4.1.0 jei-1.18.1-9.1.1.48 journeymap-1.18.1-5.8.0beta5 JustEnoughResources-1.18.1-0.13.1.138 MouseTweaks-forge-mc1.18-2.21 mutil-1.18.1-4.0.0 MyServerIsCompatible-1.18-1.0 oauth-1.1.7-1.18.1 PackMenu-1.18-4.0.0 Placebo-1.18.1-6.0.3 preview_OptiFine_1.18.1_HD_U_H5_pre4 Quark-3.0-334 QuarkOddities-1.18 spark-forge tetra-1.18.1-4.2.1 ToastControl-1.18.1-6.0.0 waystones-forge-1.18.1-9.0.1 worldedit-mod-7.2.8

Log Files/Crash Reports

The game did not crash. please inform me if I still need to add a log file

F3 Debug Screenshot

Did not occur in-game. purely an options problem

Prior Testing

Happens with only optifine, forge, and mods that add keybinds that use mouse buttons and modifiers. does not happen in vanilla, in base forge, in forge with just the affected mod, or any related situation.

Additional Information

can be temporarily fixed by changing the keybinds in the options file, but upon using any optifine features, or reloading textures, or anything related the keybind will break again.

KaiAF commented 2 years ago

Wasn't this fixed in one of the latest preview versions for 1.18.1? Correct me if I am wrong

BlazingImp77151 commented 2 years ago

Wasn't this fixed in one of the latest preview versions for 1.18.1? Correct me if I am wrong

unless pre5 or pre6 or whatever is next is out and fixed it, no. The problem was fixed for all keybinds except for ones using the mouse buttons. I only found out because of the JEI mod which by default uses key modifiers for its cheat mode.

PJRamaglia commented 2 years ago

I am having a similar issue as well...OptiFine HD U H4 seems to have keybind imcompatibilities with forge-1.18.1-39.0.63

Here is a video I made showing how compound keybinds are not being properly saved in the settings --> https://imgur.com/a/jAt4InW

ghost commented 2 years ago

I am having a similar issue as well...OptiFine HD U H4 seems to have keybind imcompatibilities with forge-1.18.1-39.0.63

Same