Skip to content

(Desktop) Hotkey settings partially resetting upon program start #987

Open

Description

@appleforyou

I'm using Livesplit One's desktop version on Gentoo Linux.

When I open the program for the first time, I unbind all hotkeys, and then set my hotkeys to the following:
Start/stop: Down Arrow
Reset: Numpad 2
Undo: Numpad 4
Skip: Numpad 6
Pause: Numpad 8

This works as expected while the program is running. But the next time I open the program, my hotkeys will change to:
Start/stop: Down Arrow
Reset: Numpad 2
Undo: Numpad 8
Skip: Numpad 2
Pause: Numpad 5
Previous Comparison: Numpad 4
Next Comparison: Numpad 6

And unlike before, this time even if I change the settings here, they will not be saved when I hit "OK."
Other settings, such as disabling "always on top," seem to be saved correctly.
Splits and layout are also mostly remembered on reopening the program (window size is not saved.)

I located what seems to be Livesplit One's config file location (~/.local/share/org.livesplit.one/databases/indexeddb/v1/tauri_localhost_0/[numbers]/
If I delete all files in this directory, then the settings (and splits/layout) will reset and I will be able to temporarily have the correct keybindings until I next close the program, but since I'll have to resize the layout and such every time, this is obviously not ideal.

Activity

  1. AlexKnauth commented on Oct 28, 2024

    @AlexKnauth

    I have a suspicion that this might be related to LiveSplit/livesplit-core#815

  2. AlexKnauth commented on Oct 28, 2024

    @AlexKnauth

    I see 2 possible solutions. Either fix set_config so that it doesn't do this bad-merging thing, or avoid calling set_config in LiveSplitOne entirely: create the hotkey system with the correct hotkey config from the start.

  3. appleforyou commented on Oct 31, 2024

    @appleforyou
    Author

    Is it possible for me to build the desktop version so that I can address this issue locally? The web version isn't an option because I will need global hotkeys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions