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

AltGr modifier is not handled correctly after updating layout #15380

Closed
1 task done
marcospb19 opened this issue Jul 28, 2024 · 1 comment
Closed
1 task done

AltGr modifier is not handled correctly after updating layout #15380

marcospb19 opened this issue Jul 28, 2024 · 1 comment
Labels
duplicate Additional reports of an existing issue

Comments

@marcospb19
Copy link
Contributor

marcospb19 commented Jul 28, 2024

Tested in X11 (i3-wm in Arch Linux, no DE).

Possibly related to #13700.
Possibly related to #14053.

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Keyboards and layouts for Portuguese, Polish, German, Swedish, Russian, and many others, rely on AltGr for typing specific symbols.

As an example, here is a list of UTF-8 symbols I can type in all apps:

/?°®Ŧ←↓→ÆẞÐĐŊĦˀĸ«»©„“”µ•

But this is the output when I try it in Zed:

qwertyuiasdfghjkzxcvbnm,

It is ignoring the modifier.

(I'm using the X11 default layout for Portuguese set with setxkbmap br abnt2)

Why is this problematic

It's common for keyboards to rely on AltGr as the only way to type a symbol, in my case, I can't type ? nor /.

This also affects me in my custom layouts that mix EN-US with PT-BR.


Related issues in other projects:
neovide/neovide#445

Environment

Zed: v0.145.1 (Zed)
OS: Linux X11 arch unknown

@marcospb19 marcospb19 added admin read bug [core label] labels Jul 28, 2024
@marcospb19
Copy link
Contributor Author

marcospb19 commented Jul 28, 2024

Update: I managed to make it to work as expected by restarting Zed after every keyboard layout update. Maybe that's the real underlying problem.

I'll close this and open a more specific issue.

@marcospb19 marcospb19 changed the title AltGr modifier is not handled correctly AltGr modifier is not handled correctly after updating layout Jul 28, 2024
@marcospb19 marcospb19 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2024
@Moshyfawn Moshyfawn added linux internationalization Feedback for human language support, translations, etc keybinds Keyboard shortcuts, mapping, binding, keymaps, etc and removed triage labels Jul 29, 2024
@notpeter notpeter added duplicate Additional reports of an existing issue and removed bug [core label] linux internationalization Feedback for human language support, translations, etc keybinds Keyboard shortcuts, mapping, binding, keymaps, etc admin read labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Additional reports of an existing issue
Projects
None yet
Development

No branches or pull requests

3 participants