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

Keymap write broken for duplicated Layout #2491

Open
jmwample opened this issue Jan 10, 2025 · 2 comments
Open

Keymap write broken for duplicated Layout #2491

jmwample opened this issue Jan 10, 2025 · 2 comments

Comments

@jmwample
Copy link

jmwample commented Jan 10, 2025

When creating a new keymap layout, if you start by duplicating an existing keymap, and then modifying from there when you go to write your keymap to the keyboard it will write the original configuration, not the modified duplicated version.

Steps to reproduce:

  1. Open the agent
  2. write a keymap to keyboard
  3. duplicate the configuration
    • make any key assignment changes in the new copy of the layout
  4. write the updated keymap to the keyboard

At this point the keyboard will still have the original configuration

  1. modify the original keymap layout
  2. try to write the updated (duplicated) version of the keymap

You can test and see that the original keymap has been written with any updates you made to it in step 5.

There is some bug here with keymap ID collision when a keymap is duplicated.

Workaround

I wanted to use the duplicate keymap to keep a main and an experimental layout. I was able to do this by duplicating the original twice, the first copy is the experimental version, the second copy keeps my original layout. Then I deleted the actual original. This allows the experimental version to be written to the keyboard seemingly without conflicting with the other still existing duplicate.

Context

Agent version: 5.0.2
UHK 80
linux platform (debian family os)
installed from website

@mondalaci
Copy link
Member

I couldn't reproduce the issue, but when duplicating my default keymap, it's not selected in the side menu.

@ert78gb Can you reproduce this issue?

@ert78gb
Copy link
Member

ert78gb commented Jan 11, 2025

I left my UHK80 in other city so I could test it on Sunday evening or Monday. Sorry for the delay

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

No branches or pull requests

3 participants