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

Error when trying to emulate some layouts #5948

Closed
2 tasks done
snowskwirl opened this issue Oct 6, 2024 · 2 comments
Closed
2 tasks done

Error when trying to emulate some layouts #5948

snowskwirl opened this issue Oct 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@snowskwirl
Copy link

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

snowskwirl

Account config

No response

Current Behavior

Error appears when trying to emulate some layouts. It seems to have something to do with dashes/special characters in the name.

Layouts affected: 3l, saiga-e, seht-drai.

Screenshot (825)

Expected Behavior

Expected layout to be emulated just like the other layouts.

Steps To Reproduce

  1. Go to settings.
  2. Scroll down to "layout emulator".
  3. Attempt to select one of the layouts mentioned above.
  4. Error will appear saying "Invalid value for layout. Please try to change this setting again."

Environment

  • OS: Windows 11
  • Browser: Edge
  • Browser Version: 129.0.2792.79

Anything else?

No response

@snowskwirl snowskwirl added the bug Something isn't working label Oct 6, 2024
@m4dd0c
Copy link
Contributor

m4dd0c commented Oct 6, 2024

It seems like hyphens (-) are not allowed as layout emulator values.
Layout emulator can only have alphanumeric values (a-z A-Z 0-9) and underscores (_)

@sarthaknimbalkar
Copy link

Heyy,
I fixed this issue.
Let me open a PR. Please check it out.

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
3 participants