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

Issues with symbols { on linux Ubuntu. #1503

Closed
cmester0 opened this issue Mar 16, 2022 · 10 comments
Closed

Issues with symbols { on linux Ubuntu. #1503

cmester0 opened this issue Mar 16, 2022 · 10 comments

Comments

@cmester0
Copy link

When inputting TPR-BGT i get 7 instead of { that is \{{^} gives an incorrect output. Similar issues happen with other symbols.

  • OS: Ubuntu 21.10
  • Plover Version 4.0.0
@cmester0 cmester0 added the bug label Mar 16, 2022
@user202729
Copy link
Member

Try restarting Plover to see if it helps. (if it does, it's #1164)

@cmester0

This comment was marked as outdated.

@benoit-pierre
Copy link
Member

benoit-pierre commented Mar 16, 2022

Please provide more information: what version of Plover are you using exactly? Does the incorrect output happen in all applications? I don't see how (possibly) downgrading PyQt5 is relevant, unless maybe if the issue happens only within the Plover GUI text fields.

@cmester0
Copy link
Author

cmester0 commented Mar 16, 2022

Hmm, seems like it just worked for a second, might be missing something in my path. I am using plover-4.0.0.dev10-x86_64.AppImage. I can only get Plover to work when writing in emacs, where the issue happens. Everywhere else it just types as normal.

@benoit-pierre
Copy link
Member

What layout do you use? Do you use ibus? xmodmap? How are 7 and { mapped on your keyboard layout?

@cmester0
Copy link
Author

cmester0 commented Mar 17, 2022

I use the default layout (from QMK) on a crkbd, however the issue happens on two different ubuntu machines, even using the onboard keyboard with english:us keyboard layout and no keyboards pluged in. It seems like the input in different windows works if I use Xorg instead of wayland, however it still gives 7 instead of {. I think i am using ibus.

@cmester0
Copy link
Author

Seems to be an issue with a missing modifier key, tried printing the mapping and got:

keysym_to_string 55
is_latin1 55
chr 7
16:0=37[7]
keysym_to_string 47
is_latin1 47
chr /
16:1=2f[/]
keysym_to_string 123
is_latin1 123
chr {
16:80=7b[{]

So when you send 123 it should add the 80 modifier?

@cmester0
Copy link
Author

cmester0 commented May 25, 2022

The issue seems to be that my default layout is danish, which it knows is the AltGr + 7 key combination on the keyboard, however when I have english keyboard active this combo just results in 7. So it only works when I use the default keyboard layout.

@cmester0
Copy link
Author

cmester0 commented Jun 2, 2022

@benoit-pierre hope this helps.

@benoit-pierre
Copy link
Member

Looks like a duplicate of #650.

For Wayland, assuming you're using a compatible config, you can check this branch (see discussion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants