Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlphaCraft9658 opened this issue Feb 14, 2024 · 5 comments
Open

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

AlphaCraft9658 opened this issue Feb 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@AlphaCraft9658
Copy link

AlphaCraft9658 commented Feb 14, 2024

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 AlphaCraft9658 changed the title Freecam switches when closing gamemode switchet (F3+F4) Freecam switches when closing gamemode switcher (F3+F4) Feb 14, 2024
@MattSturgeon MattSturgeon added the bug Something isn't working label Feb 14, 2024
@MattSturgeon
Copy link
Member

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

@AlphaCraft9658
Copy link
Author

AlphaCraft9658 commented Feb 28, 2024

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
Copy link
Member

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)

@AlphaCraft9658
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants