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

Hotkeys are getting duplicated on restart #1202

Open
1 of 9 tasks
iSplasher opened this issue Jan 8, 2025 · 5 comments
Open
1 of 9 tasks

Hotkeys are getting duplicated on restart #1202

iSplasher opened this issue Jan 8, 2025 · 5 comments
Labels
Bug Something isn't working

Comments

@iSplasher
Copy link

iSplasher commented Jan 8, 2025

Device manufacturer

  • AYANEO
  • AYN
  • AOKZOE
  • ASUS
  • GPD
  • LENOVO
  • MSI
  • ONEXPLAYER
  • VALVE

Device model
Legion Go

Handheld Companion Version
0.22.0.3

Describe the bug
I made a script to restart the HC process everytime I wake up my device from sleep because the HC tends to not work otherwise. Since updating from 0.21.7.0, Hotkeys mappings are being duplicated upon restart of HC.

EDIT: Seems to only be the default hotkeys that get duplicated. My custom ones are fine.

To Reproduce

  1. Open HC, setup new Hotkeys.
  2. Restart HC process. May possibly need to try start multiple HC processes.

Expected behavior
Hotkeys don't get duplicated

Screenshots

Logs file
I can't find any recent logs. My logs folder only has logs from many months ago, why is that?

@iSplasher iSplasher added the Bug Something isn't working label Jan 8, 2025
@iSplasher iSplasher changed the title Hotkeys are being duplicated on restart Hotkeys are getting duplicated on restart Jan 8, 2025
@jdodsoncollins
Copy link

jdodsoncollins commented Jan 12, 2025

I'm seeing this too on a Legion Go. exact same behavior.

Edit: see https://discordapp.com/channels/1054321983166365726/1145742883597594685/1325347431742701580 clearing out the hotkeys folder in HandheldCompanion in documents workef

@Valkirie
Copy link
Owner

Looks like it's an issue when back porting older hotkeys. Can you close HC, get into mydocuments locate HC folded and then in hotkeys folder try to delete all which file names aren't just numbers. Then restart HC.

@jdodsoncollins
Copy link

Looks like it's an issue when back porting older hotkeys. Can you close HC, get into mydocuments locate HC folded and then in hotkeys folder try to delete all which file names aren't just numbers. Then restart HC.

thank you! this works great. I also saw this mentioned on discord just now

@iSplasher
Copy link
Author

Yes, it removes all the duplicates, but the underlying issue still persists :)

@Valkirie
Copy link
Owner

If you delete all hotkey files that has an actual name and not just a number, it should work. Nevertheless, we have a fix ready for next release.

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

3 participants