MinecraftFreecam / Freecam

A highly customizable freecam mod for Minecraft.
https://curseforge.com/minecraft/mc-mods/free-cam
MIT License
74 stars 27 forks source link

Freecam switches when closing gamemode switcher (F3+F4) #175

Open AlphaCraft9658 opened 6 months ago

AlphaCraft9658 commented 6 months ago

When I use the gamemode switcher (F3+F4) and then release the F3 key, the freecam also switches on/off. I'm not sure whether F4 is the default key for toggling Freecam, but at least with my configuration this happens.

I don't think that this is intended behavior, and it should be possible to fix.

MattSturgeon commented 5 months ago

I've reproduced this on Freecam 1.2.0 (old version) and also 1.2.3 (latest version).

This only happens when releasing F3 before F4.

The intended way to use the gamemode switcher is to hold F3 like a modifier key and then tap F4 before releasing F3.

Notably, holding F4 and tapping F3 does not activate the gamemode switcher at all.

When used as intended, the gamemode switcher does not toggle Freecam.

It's also harder to reproduce this issue on the latest Freecam versions because #126 introduced a half-second timeout for how long F4 can be held before it is ignored.

If this issue is bothering you, there's a few workaround:

I'll look into a proper solution, but this might end up being marked as "won't fix".

AlphaCraft9658 commented 5 months ago

I've reproduced this on Freecam 1.2.0 (old version) and also 1.2.3 (latest version).

This only happens when releasing F3 before F4.

The intended way to use the gamemode switcher is to hold F3 like a modifier key and then tap F4 before releasing F3.

Notably, holding F4 and tapping F3 does not activate the gamemode switcher at all.

When used as intended, the gamemode switcher does not toggle Freecam.

It's also harder to reproduce this issue on the latest Freecam versions because #126 introduced a half-second timeout for how long F4 can be held before it is ignored.

If this issue is bothering you, there's a few workaround:

  • Change Freecam's toggle key mapping
  • Use gamemode switcher in the "intended" way (release F4 first)
  • Hold F4 for at least half a second (10 ticks)

I'll look into a proper solution, but this might end up being marked as "won't fix".

For me it's kind of the opposite. When using the gamemode switcher normally, as you have described, it actually still triggers the freecam for me.

MattSturgeon commented 5 months ago

When using the gamemode switcher normally, as you have described, it actuall still triggers the freecam for me.

Strange. Could you let me know what versions you're using?

AlphaCraft9658 commented 5 months ago

When using the gamemode switcher normally, as you have described, it actually still triggers the freecam for me.

Strange. Could you let me know what versions you're using?

  • Freecam (e.g. 1.2.3)
  • Minecraft (e.g. 1.20.4)
  • Mod platform (e.g. Fabric)

I only don't know the version of the mod. I'll check once I'm home.

AlphaCraft9658 commented 5 months ago

When using the gamemode switcher normally, as you have described, it actuall still triggers the freecam for me.

Strange. Could you let me know what versions you're using?

  • Freecam (e.g. 1.2.3)
  • Minecraft (e.g. 1.20.4)
  • Mod platform (e.g. Fabric)

Freecam: 1.2.1 Minecraft: 1.20.1 Mod platform: Quilt 0.23.1