Windows IME issue with "#"

Steps to reproduce

  1. Turn on “Fold heading” in Editor options.
  2. Type “#” with Chinese IME (I haven’t checked with other IMEs)

Expected result

A “#” shows without being selected.

Actual result

The “#” shows but it’s selected.

Environment

  • Operating system: Windows 10 1909; 18363.1977
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.19
    Installer version: v0.13.14
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 0
    Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

image

Previously in Live Preview Bugs channel of Discord, someone else (and I) has a similar issue with Chinese IME of “=” “~” “%”. Type one “=” will cause “==|=” to show ( "|"represents the cursor) with the second “=” selected (so it is with “~” and “%”). But I have tested the same scenario on a different machine (also running Win 10), everything is normal as expected. Just FYI.
image

1 Like

Same problem since update to v0.13.19 …

Is there any updates? Or has anyone else met the same situation? It seems that the “#” issue only happens in the middle of a page, which means that if I type a # at the end of the page in a new line, Obsidian works correctly. I guess there might be a solution for it?

Same problem. And I have to turn off the “fold heading” option for better type experience.

For those who also meet this Windows IME issue, here is a temporary solution which currently woks perfect for me:

  1. Download and install Auto Hotkey (AHK)
  2. Create a new script(.txt to .ahk) with the following code:
:*:#::{u+0023}
:*:=::{u+003d}
:*:~::{u+007e}
:*:%::{u+0025}
  1. Save and run!

Now we can wait for the official patch to solve it in the future :smile:

1 Like