Skip to content

[mac] Context-dependent rules do not work in Chrome #2617

@MakaraSok

Description

@MakaraSok

Describe the bug
The following context-dependent rules have been created and tested in Keyman Developer.

c Context Dependent Rules
U+0430 + [K_I]          > 'ай'      c ai = ай
U+0410 + [SHIFT K_I]    > 'АЙ'      c AI = АЙ
U+043E + [K_I]          > 'ой'      c oi = ой
U+041E + [SHIFT K_I]    > 'ОЙ'      c OI = ОЙ
U+0443 + [K_I]          > 'уй'      c ui = уй
U+0423 + [SHIFT K_I]    > 'УЙ'      c UI = УЙ
U+0438 + [K_I]          > 'ий'      c ii = ий
U+0418 + [SHIFT K_I]    > 'ИЙ'      c II = ИЙ
U+044D + [K_I]          > 'эй'      c ei = эй
U+042D + [SHIFT K_I]    > 'ЭЙ'      c EI = ЭЙ
U+04AF + [K_I]          > 'үй'      c үi = үй
U+04AE + [SHIFT K_I]    > 'ҮЙ'      c YI = ҮЙ

U+0438 + [K_A]          > 'я'        c ia = я
U+0418 + [SHIFT K_A]    > 'Я'        c IA = Я
U+0438 + [K_E]          > 'е'        c ie = е
U+0418 + [SHIFT K_E]    > 'Е'        c IE = Е
U+0438 + [K_O]          > 'ё'        c io = ё
U+0418 + [SHIFT K_O]    > 'Ё'        c IO = Ё
U+0438 + [K_QUOTE]          > 'ы'        c i' = ы
U+0418 + [K_QUOTE]          > 'Ы'        c I' = Ы
U+0418 + [SHIFT K_QUOTE]    > 'Ы'        c I" = Ы (BOTH PRODUCE SAME CHARACTER. INTENTIONAL REDUNDANCY)
U+0438 + [K_U]          > 'ю'        c iu = ю
U+0418 + [SHIFT K_U]    > 'Ю'        c IU = Ю
U+0448 + [K_X]          > 'щ'       c xx = щ 
U+0428 + [SHIFT K_X]    > 'Щ'       c XX = Щ

U+002C + [K_COMMA]          > '„'   c ,, = „ (THIS IS THE COMMA KEY, INPUTTED TWICE)
U+002E + [K_PERIOD]         > '“'   c `` = “ (THIS IS PERIOD KEY, INPUTTED TWICE)
U+003C + [SHIFT K_COMMA]    > '«'   c << = « 
U+003E + [SHIFT K_PERIOD]   > '»'   c >> = »
U+201C + [K_PERIOD]         > '…'   c ... = … (THE PERIOD KEY, INPUTTED THRICE, GENERATES AN ELLIPSIS)

They work fine in other apps app on mac, but not in Chrome. The rules somehow get ignored and do not produce the expected output.

  • Chrome - white background - product incorrect output
  • TextEdit - Black background - produce correct output
  • Key sequences are on the left most, i.e. "ai, AI, oi, OI"

image

To Reproduce
Steps to reproduce the behavior:

  1. Install Mongolian Cyrillic QWERTY keyboard on mac
  2. Open TextEdit and Chrome and type "ai, AI, oi, OI"
  3. See error in Chrome

Expected behavior
Output in Chrome should be the same as that produced on TextEdit.


Keyman for macOSx:

  • OS: macOS Mojave 10.14.6
  • Keyman version: 12.0.5
  • Target Application: TextEdit and Chrome

Keyboard

  • Keyboard name: Mongolian Cyrillic QWERTY
  • Keyboard version: 2.0 (testing stage)
  • Language name: Mongolian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions