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

Pause не переключает раскладку #57

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

Pause не переключает раскладку #57

Mingun opened this issue Jan 15, 2020 · 0 comments

Comments

@Mingun
Copy link
Contributor

Mingun commented Jan 15, 2020

Хотя лог утверждает обратное, однако раскладка на самом деле не переключилась. В логе представлена следующая последовательность действий:

  • Ручное переключение раскладки (событие MappingNotify)
  • Набор текста 2, на цифровой клавиатуре
  • Нажатие клавиши Pause
  • Набор текста 2, на цифровой клавиатуре
  • Смена раскладки через Shift L+Alt L (событие MappingNotify)
  • Набор текста 2. на цифровой клавиатуре

Как видно, даже после якобы смены языка нажатия кнопки с точкой на цифровой клавиатуре по-прежнему генерирует символ "запятая" вместо символа "точка", хотя настройка Переключать раскладку после изменения выделенного текста (название из gxneur) активна (впрочем, название какое-то подозрительное -- почему только "выделенного текста", а на раскладки после изменения последнего набранного слова она не влияет что ли? Но флажок в области уведомлений исправно меняется, и стандартный апплет языка в Ubuntu 16.04 -- тоже (хотя и не всегда, как на примере на скриншоте))
Различие в языках

[TRA] 11:51:57 Received MappingNotify (event type 34)
[DBG] 11:51:57 String is freed
[DBG] 11:51:57 String is freed
[LOG] 11:51:57 Keyboard layouts present in system:
[LOG] 11:51:57    Included XKB Group 'Russian', layout 'ru', group '0'
[DBG] 11:51:57       Russian dictionary has 188 records
[DBG] 11:51:57       Russian proto has 203 records
[DBG] 11:51:57       Russian big proto has 19141 records
[DBG] 11:51:57       Russian enchant wrapper dictionary loaded
[LOG] 11:51:57    Included XKB Group 'English (US)', layout 'us', group '1'
[DBG] 11:51:57       English (US) dictionary has 334 records
[DBG] 11:51:57       English (US) proto has 69 records
[DBG] 11:51:57       English (US) big proto has 8990 records
[DBG] 11:51:57       English (US) enchant wrapper dictionary loaded
[LOG] 11:51:57 Total 2 keyboard layouts detected
[TRA] 11:51:59 Received XI_KeyPress 'KP_Down' == 88 (event type 35)
[TRA] 11:51:59 Received XI_KeyRelease 'KP_Down'== 88 (event type 35)
[TRA] 11:51:59 Received XI_KeyPress 'KP_Delete' == 91 (event type 35)
[TRA] 11:51:59 Received XI_KeyRelease 'KP_Delete'== 91 (event type 35)
[TRA] 11:52:03 Received XI_KeyPress 'Pause' == 127 (event type 35)
[TRA] 11:52:03 Received XI_KeyRelease 'Pause'== 127 (event type 35)
[LOG] 11:52:03 Execute action "Correct/Undo correction"
[DBG] 11:52:03 Changing language from Russian to English (US)
[DBG] 11:52:03 Processing string '2,'
[TRA] 11:52:07 Received XI_KeyPress 'KP_Down' == 88 (event type 35)
[TRA] 11:52:07 Received XI_KeyRelease 'KP_Down'== 88 (event type 35)
[TRA] 11:52:08 Received XI_KeyPress 'KP_Delete' == 91 (event type 35)
[TRA] 11:52:08 Received XI_KeyRelease 'KP_Delete'== 91 (event type 35)
[TRA] 11:52:12 Received XI_KeyPress 'Alt_R' == 108 (event type 35)
[TRA] 11:52:12 Received XI_KeyPress 'Shift_R' == 62 (event type 35)
[TRA] 11:52:12 Received XI_KeyRelease 'Alt_R'== 108 (event type 35)
[TRA] 11:52:12 Received XI_KeyRelease 'Shift_R'== 62 (event type 35)
[TRA] 11:52:12 Received MappingNotify (event type 34)
[DBG] 11:52:12 String is freed
[DBG] 11:52:12 String is freed
[LOG] 11:52:12 Keyboard layouts present in system:
[LOG] 11:52:12    Included XKB Group 'English (US)', layout 'us', group '0'
[DBG] 11:52:12       English (US) dictionary has 334 records
[DBG] 11:52:12       English (US) proto has 69 records
[DBG] 11:52:12       English (US) big proto has 8990 records
[DBG] 11:52:12       English (US) enchant wrapper dictionary loaded
[LOG] 11:52:12    Included XKB Group 'Russian', layout 'ru', group '1'
[DBG] 11:52:12       Russian dictionary has 188 records
[DBG] 11:52:12       Russian proto has 203 records
[DBG] 11:52:12       Russian big proto has 19141 records
[DBG] 11:52:12       Russian enchant wrapper dictionary loaded
[LOG] 11:52:12 Total 2 keyboard layouts detected
[TRA] 11:52:14 Received XI_KeyPress 'KP_Down' == 88 (event type 35)
[TRA] 11:52:14 Received XI_KeyRelease 'KP_Down'== 88 (event type 35)
[TRA] 11:52:14 Received XI_KeyPress 'KP_Delete' == 91 (event type 35)
[TRA] 11:52:14 Received XI_KeyRelease 'KP_Delete'== 91 (event type 35)
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