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

Revert "Work-around issues with the PetBar not accepting modified key… #156

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zahnom
Copy link

@zahnom zahnom commented Feb 8, 2023

Issue

The keybindings for the pet bar don't work at all when in a vehicle or a drake (e.g. in occulus). When disabling Bartender the issue is gone. So the current problem is that

  • With the work-around of e79877f the petbar keybindings work for pets but not for vehicles at all
  • Without the work-around the petbar keybindings with modifiers don't work for pets, but the keybindings work fine for vehicles

Root cause

Looks like the quick fix of e79877f now causes problems in Wotlk 3.4.1.47966. If I revert this commit everything works smooth again.
Edit: I was a bit overhasty with reverting e79877f. The issue with the modified keybindings on the petbar reappears when reverting. The root cause for the petbar keybindings not working when on vehicle is the work-around of e79877f, though.

Solution

I don't have a definitive solution, but at least something that could improve the situation. I modified PetBarMod:ReassignBindings so that the work-around is only used for bindings with a modifier, and the "traditional" way is used for the others. As a result, the keybindings for pets work for both normal and modified bindings and when on a vehicle at least the normal keybindings work. Keybindings with modifiers still won't work when on a vehicle though. But I think it's worth adding this improvement to at least help all the people with non-modified keybindings on the petbar.

…ybinding

The issue with modified petbar keybinds is still there, so I was a bit overhasty with my previous commit. I tried to improve the issue that the workaround breakes the keybinds when on a vehicle or drake. In these cases the keybinds of the petbar do not work.
@zahnom zahnom force-pushed the fix-petbar-keybindings branch from c77186b to e88510d Compare February 8, 2023 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant