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

Automatic backups only save every second time that the user presses save #1482

Open
1 task
sudomain opened this issue Feb 23, 2025 · 0 comments
Open
1 task
Assignees
Labels
bug Something isn't working needs triage

Comments

@sudomain
Copy link

Developer TODO (don't remove)

  • update documentation

Describe the bug
A clear and concise description of what the bug is.

Back story: I wrote a python script that opens the zip files and parses the json in key mapper backup files. It allows me to trigger a keymap using an intent and referring to the action(s) that the keymap takes. This is besides the point, but I'm willing to donate this to keymapperorg if you want it, otherwise I'll keep it in my personal scripts repo.

The actual issue is that while developing this script, I noticed that the automatic backups were only saving changes I made to key maps on every other time I pressed "Save". Every time I pressed save, the message "Automatic back up successful!" was displayed and the zip file modification time changed, however my script was only seeing the updated json if I opened a keymap and pressed save a second time.

Original message here:
https://discord.com/channels/717499872219103263/717527256091721735/1342623696954720317

Attach bug report
https://docs.keymapper.club/report-issues

To Reproduce
Steps to reproduce the behavior:

Key maps
Upload a backup of your keymaps. Follow the guide here

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Device and app info

  • Device: Pixel 2
  • Android version (include HyperOS, OneUI version as well): 11
  • Key Mapper version: 2.8.0
@sudomain sudomain added bug Something isn't working needs triage labels Feb 23, 2025
@jambl3r jambl3r changed the title Bug: Automatic backups only save every second time that the user presses save Automatic backups only save every second time that the user presses save Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants