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

Removing the comma button from the functional layout also removes it from the symbols layout #1385

Open
steam3d opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@steam3d
Copy link

steam3d commented Feb 25, 2025

When a comma is removed from the layout of functional keys, it is also removed from other layouts, despite the fact that the variation_selector button is present in the configuration files for these layouts

Functional layout

[
  [
    { "label": "shift", "width": 0.15 },
    { "type": "placeholder" },
    { "label": "delete", "width": 0.15 }
  ],
  [
    { "label": "symbol_alpha", "width": 0.15 },
    { "$": "keyboard_state_selector", "languageKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "language_switch" }}},
    { "$": "keyboard_state_selector", "emojiKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "emoji" }}},
    { "$": "keyboard_state_selector", "symbols": { "label": "numpad" }},
    { "label": "space" },
    { "label": "period", "labelFlags": 1073741824 },
    { "label": "action", "width": 0.15 }
  ]
]

Image

Symbols layout

[
  [
    { "label": "shift", "width": 0.15 },
    { "type": "placeholder" },
    { "label": "delete", "width": 0.15 }
  ],
  [
    { "label": "symbol_alpha", "width": 0.15 },
    { "$": "variation_selector",
      "default":  { "label": "comma" },
      "email":    { "label": "@", "groupId": 1, "type": "function" },
      "uri":      { "label": "/", "groupId": 1, "type": "function" }
    },
    { "$": "keyboard_state_selector", "languageKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "language_switch" }}},
    { "$": "keyboard_state_selector", "emojiKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "emoji" }}},
    { "$": "keyboard_state_selector", "symbols": { "label": "numpad" }},
    { "label": "space" },
    { "label": "period", "labelFlags": 1073741824 },
    { "label": "action", "width": 0.15 }
  ]
]

Image

There is no variation_selector button, although in the configuration it is

Extended symbols layout

[
  [
    { "label": "shift", "width": 0.15 },
    { "type": "placeholder" },
    { "label": "delete", "width": 0.15 }
  ],
  [
    { "label": "symbol_alpha", "width": 0.15 },
    { "$": "variation_selector",
      "default":  { "label": "comma" },
      "email":    { "label": "@", "groupId": 1, "type": "function" },
      "uri":      { "label": "/", "groupId": 1, "type": "function" }
    },
    { "$": "keyboard_state_selector", "languageKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "language_switch" }}},
    { "$": "keyboard_state_selector", "emojiKeyEnabled": { "$": "keyboard_state_selector", "alphabet": { "label": "emoji" }}},
    { "$": "keyboard_state_selector", "symbols": { "label": "numpad" }},
    { "label": "space" },
    { "label": "period", "labelFlags": 1073741824 },
    { "label": "action", "width": 0.15 }
  ]
]

Image

There is no variation_selector button, although in the configuration it is

@steam3d steam3d added the bug Something isn't working label 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
Projects
None yet
Development

No branches or pull requests

1 participant