Dygmalab / Bazecor

Graphical configurator for Dygma Products
https://dygma.com/
GNU General Public License v3.0
391 stars 85 forks source link

Lost layer names when opening virtual defy in bazecor on another system #600

Open altery opened 9 months ago

altery commented 9 months ago

Describe the bug When opening a virtual keyboard in bazecor on another computer, the layer names are reset to their defaults (L1, L2, ...).

To Reproduce Steps to reproduce the behavior:

  1. Open bazecor 1.3.6 without keyboard
  2. Use without keyboard
  3. Create a new Dygma Defy layout with custom layer names
  4. Save the layout
  5. Copy the saved VirtualDefy.json (or whatever it is called) to another system
  6. Open bazecor 1.3.6 without keyboard
  7. Use without keyboard
  8. Load the VirtualDefy.json
  9. Verify that the layer names are reset the default names

Expected behavior The layer names should not be lost. It seems that the layer names are not stored in the .json file at all, could that be?

Desktop (please complete the following information):

viciousnemesis commented 2 months ago

Adding a new comment, as I think it's related. Happy to move to a new ticket if it's not.

Layers, macros, and superkey names are not imported properly when connecting my Defy to a new OS (Linux, has happened in Mint 21.3 and OpenSUSE Tumbleweed 20240607).