-
Notifications
You must be signed in to change notification settings - Fork 281
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
Race condition with capitalization #1051
Comments
Which window manager are you using? I don't get this issue on Unity on Ubuntu when writing pH, {Mc^}{-|} and pK, two lines of each. I remember there being an issue with ibus. Back then I could steno into gedit and it would work fine, but if I stenoed into Firefox it would miss some characters in the output. Plover was outputting them, but Firefox wasn't receiving them. Maybe you could try writing strings of pK into different applications and see if this happens in all of them or just some of them. |
I'm using cinnamon. |
Does it also happen in other Plover windows, such as the add translation dialog? You should be able to open that from the main window. And which browser is it? Firefox? Chromium? Konqeror? Have you tried stenoing into a text editor or word processor? |
|
AFAIK, neither gvim nor xterm use ibus, so do you have ibus running? |
I think I don't install it. |
Can you reproduce the issue with xdotool? Using for example: |
No, regardless of whether plover is enabled or disabled. |
That was without Plover running. Anyway, you could check if the sequence of events send by Plover is correct, although it it works in other applications, it probably is. Use |
Wouldn't xdotool type pK four times in xterm? If the issue doesn't happen when using Plover in xterm, it probably doesn't happen when using xdotool in xterm. I don't have this problem myself, but I just got Python to use xdotool to write a string of pKs in Firefox:
The output I get is |
xdootool will send events to the focused window, so just use sleep before the command and quickly select the problematic application: |
It does happen to master. |
Sequence of event looks correct. However if that's the case, the bug is probably not with Plover, but PyQt/Qt. |
Yes, have you tried again with xdotool, but focusing the correct application? So you still have not mentioned how Plover/PyQt5 were installed. |
xdotool was tried on Plover lookup window. |
I don't get this issue on Cinnamon on Ubuntu. So this could be specific to Arch Linux. |
Summary
Sometimes a noncapitalized character is wrongly capitalized when it's before a upper case character.
Reproducing
Pressing "P-BG" a few times gives:
Plover Version
1ff8bb9
System
Arch Linux.
The text was updated successfully, but these errors were encountered: