Freecam icon indicating copy to clipboard operation
Freecam copied to clipboard

Freecam switches when closing gamemode switcher (F3+F4)

Open AlphaCraft9658 opened this issue 1 year ago • 5 comments

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.

AlphaCraft9658 avatar Feb 14 '24 13:02 AlphaCraft9658

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".

MattSturgeon avatar Feb 28 '24 14:02 MattSturgeon

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.

AlphaCraft9658 avatar Feb 28 '24 16:02 AlphaCraft9658

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)

MattSturgeon avatar Feb 28 '24 16:02 MattSturgeon

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 avatar Mar 01 '24 08:03 AlphaCraft9658

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

AlphaCraft9658 avatar Mar 02 '24 17:03 AlphaCraft9658