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

Иногда xneur неправильно определяет язык #58

Open
Mingun opened this issue Jan 15, 2020 · 0 comments
Open

Comments

@Mingun
Copy link
Contributor

Mingun commented Jan 15, 2020

Помимо того, что язык не всегда переключается (#57) иногда xneur и неправильно сохраняет его у себя. Из трассы ниже можно видеть, что после переключения языка текущий язык -- русский, однако при выполнении действия корректировки ввода почему-то идет попытка перевести с английского на английский (!). Вероятно, где-то неинициализированная переменная (в логе есть некоторые мои дополнения).

[LOG] 15:38:10 Keyboard layouts present in system:
[LOG] 15:38:10    Included XKB Group 'Russian', layout 'ru', group '0'
[DBG] 15:38:10       Russian dictionary has 189 records
[DBG] 15:38:10       Russian proto has 203 records
[DBG] 15:38:10       Russian big proto has 19141 records
[DBG] 15:38:10       Russian enchant wrapper dictionary loaded
[LOG] 15:38:10    Included XKB Group 'English (US)', layout 'us', group '1'
[DBG] 15:38:10       English (US) dictionary has 334 records
[DBG] 15:38:10       English (US) proto has 69 records
[DBG] 15:38:10       English (US) big proto has 8990 records
[DBG] 15:38:10       English (US) enchant wrapper dictionary loaded
[LOG] 15:38:10 Total 2 keyboard layouts detected, current layout: Russian
[TRA] 15:38:10 Received XI_KeyRelease 'Shift_L'== 50 (event type 35)
[TRA] 15:38:10 Received XI_KeyPress 's' == 39 (event type 35)
[TRA] 15:38:10 Received XI_KeyRelease 's'== 39 (event type 35)
[TRA] 15:38:11 Received XI_KeyPress 'Pause' == 127 (event type 35)
[TRA] 15:38:11 Received XI_KeyRelease 'Pause'== 127 (event type 35)
[LOG] 15:38:11 Execute action "Correct/Undo correction"
[DBG] 15:38:11 Changing language from English (US) to English (US)
[DBG] 15:38:11 Processing string 's'
[TRA] 15:38:11     use 1579085415354 ms
[TRA] 15:38:11     use 1579085415795 ms
[TRA] 15:38:11     use 1579085416288 ms
[TRA] 15:38:11     use 1579085416728 ms
[TRA] 15:38:11 Send backspaces, count = 1
[TRA] 15:38:11     use 1579085417281 ms
[TRA] 15:38:11     use 1579085417706 ms
[TRA] 15:38:11 Send backspaces, count = 1
[TRA] 15:38:11     use 1579085418258 ms
[TRA] 15:38:11     use 1579085418912 ms
[TRA] 15:38:11 Send string from buffer, count = 1
[TRA] 15:38:17   buffer saved to log & cleared
[TRA] 15:38:17   correction buffer cleared
[TRA] 15:38:17 Received XI_RawButtonPress (button 1) (event type 35, subtype 15)
[TRA] 15:38:17 Received FocusOut on window 79691777 (event type 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant