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

Can't trigger Prettifier when IME is enabled #11

Open
lkasahi opened this issue Nov 5, 2024 · 0 comments
Open

Can't trigger Prettifier when IME is enabled #11

lkasahi opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lkasahi
Copy link

lkasahi commented Nov 5, 2024

Bug description

When using an IME (I use Microsoft Bopomofo for Traditional Chinese IME), space key does not trigger Enhanced Symbol Prettifier.

There are two modes in the IME: Chinese input mode and English input mode, which can be toggled with Shift key by default. When typing in English mode, shortcuts are recognized normally. However, when typing in Chinese mode, no shortcut is recognized. While Chinese mode is for writing Chinese characters, this mode still allows common symbols (the ones found on a keyboard), English alphabets, and spaces to be written as well. Therefore, the issue is that a shortcut is not triggered by space bar when IME is in Chinese mode, despite the space bar still does the same thing as in English mode or not in an IME.

Disabling/enabling flexible word boundaries does not affect this issue.

To reproduce

Steps to reproduce the behavior:

  1. Open any document.
  2. Type any shortcut.
  3. Switch to Chinese mode in Microsoft Bopomofo IME.
  4. Hit space bar for recognition.
  5. No joy.

Is the console showing an error ? If yes, what error ?
(Ctrl + Shift + I to open the console)
No error is shown other than "Measure loop restarted more than 5 times" from app.js:1.

My setup

  • OS: Windows 11 Version 22H2 (OS build 22621)
  • Obsidian Version: v1.7.5
  • Plugin Version: 1.4.1

Additional context
Add any other context about the problem here if relevant (other plugins ?)
This does not seem like a plugin conflict issue. Will keep you updated if I found some relevance!

Edit: clarification of the issue upon further testing.

@lkasahi lkasahi added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant