# False positives in spellchecker in macOS Monterey (spell checker and grammar)

**URL:** <https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049>\
**Category:** Bug reports\
**Tags:** spellcheck, repro, upstream-bug, macos\
**Created:** [July 28, 2022, 8:07am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049 "2022-07-28T08:07:40Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![xinaes](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/a9a28c/32.png) [@xinaes](https://forum.obsidian.md/u/xinaes)\
**Post date:** [July 28, 2022, 8:07am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/1 "2022-07-28T08:07:40Z")

</div>

I am finding that on macOS 12.4, occasionally the default spellchecker will flag false positives for certain words. I’ve just updated to v0.15.9, and tried disabling community plug-ins etc in case that was somehow relevant.

For example, in the following sentence, the word ‘off’ is marked as mis-spelled:

> Turning the iPad off & on again fixed it.

In this example, changing the ‘&’ for the word ‘and’ causes the error to go away.

> Turning the iPad off and on again fixed it.

This is not a general pattern though (it’s not that ‘any word before an `&` is flagged’) - it seems that certain arbitrary word combinations trigger it sometimes, and at least in this specific case, this triggering is persisting with the same sentence in the context of different notes, whether it’s copied and pasted or re-typed (I have memories of tracking down strange behaviour elsewhere in the past where invisible characters have somehow been inserted into seemingly identical strings).

Indeed, changing almost any of the surrounding words seems to effect it; none of the following has the error:

> Turning it off & on again fixed it.  
> Turning the iPhone off & on again fixed it.

I understand that Obsidian is using the system spellchecker. I don’t know quite how that integration works or at what point this bug introduces itself, but have at least checked that a similar false-positive is not triggered with the same sentence in Pages on the same machine, for instance.

I can’t remember if I’ve seen this type of bug manifest on non-mac devices, but this specific example is not reproduce-able on my Windows desktop or my old MacBook running Big Sur (I made sure to also update Obsidian to v0.15.9 there as well). I can only specifically remember noticing it on this new (M1 Pro MBP) laptop.

It’s pretty distracting.

---

<div class="post-metadata">

**Author:** ![xinaes](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/a9a28c/32.png) [@xinaes](https://forum.obsidian.md/u/xinaes)\
**Post date:** [July 28, 2022, 8:42am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/2 "2022-07-28T08:42:38Z")

</div>

I am now noticing that I also get similar behaviour in this editor in Safari. I’m now trying to establish whether the same is also true for other browser-based editors (I suppose it could still be that shared Obsidian code used here is responsible, but this seems to point at it being more of a macOS bug).

---

<div class="post-metadata">

**Author:** ![xinaes](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/a9a28c/32.png) [@xinaes](https://forum.obsidian.md/u/xinaes)\
**Post date:** [July 28, 2022, 8:56am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/3 "2022-07-28T08:56:12Z")

</div>

StackEdit, which is using the browser’s spellchecker I think, is not triggering false positives with my test sentence.

Some more examples of things that do cause the error (always the word ‘off’):

> The iPad off & on again.  
> Any iPad off & on again.

and some that don’t:

> The iPad off & on again. //error  
> Word iPad off & on again.

Actually, I’m finding that the behaviour of this forum software vs the Obsidian app is slightly different in some cases, but it’s probably not worth listing too much, unless someone finds it useful to help diagnose.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 28, 2022, 2:11pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/4 "2022-07-28T14:11:00Z")

</div>

Obsidian uses Apple’s spellchecker on mac.  
Send the bug report to Apple.

---

<div class="post-metadata">

**Author:** ![xinaes](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/a9a28c/32.png) [@xinaes](https://forum.obsidian.md/u/xinaes)\
**Post date:** [July 29, 2022, 7:38am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/5 "2022-07-29T07:38:28Z")

</div>

Please re-read my bug report, I’ve made efforts to cross-check against other things also using the Apple spellchecker. Not that this means it isn’t an Apple bug, and it should be reported there, but it does seem there’s something somewhat peculiar to the Obsidian integration.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 29, 2022, 1:27pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/6 "2022-07-29T13:27:42Z")

</div>

If you take the same text and you copy in textedit, what happens?

This happens because Apple’s spellcher does both spellcheck and grammar check.

---

<div class="post-metadata">

**Author:** ![OogieM](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oogiem/32/3807_2.png) [@OogieM](https://forum.obsidian.md/u/OogieM)\
**Post date:** [July 16, 2022, 2:44am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/7 "2022-07-16T02:44:49Z")

</div>

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with **third-party plugins and custom CSS** disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help.

### Steps to reproduce

It happens randomly. Words will show in notes as red underlined indicating misspelled but they are in fact correct.

### Expected result

Words in the dictionary or common words and spelled correctly should not be underlined red.

### Actual result

Mix of things that are underlined some I expected some not.

### Environment

- Operating system: Mac Os x Catalina 10.15.7

- Debug info:SYSTEM INFO:  
Obsidian version: v0.15.6  
Installer version: v0.14.2  
Operating system: Darwin Kernel Version 19.6.0: Mon Apr 18 21:50:40 PDT 2022; root:xnu-6153.141.62~1/RELEASE\_X86\_64 19.6.0  
Login status: logged in  
Catalyst license: supporter  
Insider build toggle: off  
Live preview: off  
Legacy editor: off  
Base theme: light  
Community theme: Oogie  
Snippets enabled: 2  
Safe mode: on

RECOMMENDATIONS:  
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

Here is a normal word showing the problem:  
 ![Screen Shot 2022-07-15 at 7.32.43 PM](https://forum.obsidian.md/uploads/default/original/3X/7/5/751377a8306ec188ca77d9d66b0d75547d719e50.png)

and here is a case where I’d expect all to be considered misspelled but they aren’t

![Screen Shot 2022-07-15 at 8.41.28 PM](https://forum.obsidian.md/uploads/default/original/3X/f/e/fe112784b3c63c4ab5184d14f6e6146b33025dfd.png)

* * *

### Additional information

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 16, 2022, 1:03pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/8 "2022-07-16T13:03:30Z")

</div>

Download and reinstall Obsidian. Attach a file where this happens in the sandbox vault.

---

<div class="post-metadata">

**Author:** ![OogieM](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oogiem/32/3807_2.png) [@OogieM](https://forum.obsidian.md/u/OogieM)\
**Post date:** [July 17, 2022, 3:12am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/9 "2022-07-17T03:12:39Z")

</div>

> [@WhiteNoise](#):
>
> Download and reinstall Obsidian

Done

> [@WhiteNoise](#):
>
> Attach a file where this happens in the sandbox vault

um, ok how and where do I do that? I looked in help in Obsidian searching for sandbox. Nothing

I looked in the Library/Application Support/obsidian folder under my username and there is nothing with sandbox in the name.

Sorry, but clueless here as to how to accomplish what you are asking me to do.

PS I have a file isolated that still shows the problem but no idea where or how to get it to you.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 17, 2022, 4:10pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/10 "2022-07-17T16:10:31Z")

</div>

If you copy this text in an apple app or in chrome, is it misspelled?

Lower left corner click on `?` then click on Open Sandbox vault. see if ti happens there.  
You can upload the file anywhere you want and post a link here.

---

<div class="post-metadata">

**Author:** ![OogieM](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oogiem/32/3807_2.png) [@OogieM](https://forum.obsidian.md/u/OogieM)\
**Post date:** [July 17, 2022, 8:58pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/11 "2022-07-17T20:58:21Z")

</div>

> [@WhiteNoise](#):
>
> If you copy this text in an apple app or in chrome, is it misspelled?

Copied into Textedit and still shows underlined red.

![Screen Shot 2022-07-17 at 2.49.32 PM](https://forum.obsidian.md/uploads/default/original/3X/1/2/12c9abade1245f9af9dc5cd7ba91bf94af81fcb0.png)

I copied the text into a file in the sandbox but it’s not showing underlined.

Tried to drag the file onto the sandbox vault to upload it unchanged and nothing happens.

Made a duplicte of the file and founc the sandbox vault and added it and then restarted Onsidian and does notshow underlined red but my copy in my vault still does.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 17, 2022, 9:05pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/12 "2022-07-17T21:05:45Z")

</div>

if this showing underlined in textedit, you should send this bug report to Apple. We use Apple spellchecker on Macs.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 17, 2022, 9:06pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/13 "2022-07-17T21:06:51Z")

</div>

Perhaps Apple’s spellcheker is not a simple spellchecker and does some grammar check or semantic check. I don’t know.

---

<div class="post-metadata">

**Author:** ![Dor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dor](https://forum.obsidian.md/u/Dor)\
**Post date:** [July 17, 2022, 9:46pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/14 "2022-07-17T21:46:39Z")

</div>

> [@WhiteNoise](#):
>
> Perhaps Apple’s spellcheker is not a simple spellchecker and does some grammar check

This one does look like a grammar check:  
 ![Screen Shot 2022-07-17 at 2.49.32 PM](https://forum.obsidian.md/uploads/default/original/3X/1/2/12c9abade1245f9af9dc5cd7ba91bf94af81fcb0.png)

---

<div class="post-metadata">

**Author:** ![OogieM](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oogiem/32/3807_2.png) [@OogieM](https://forum.obsidian.md/u/OogieM)\
**Post date:** [July 18, 2022, 2:21pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/15 "2022-07-18T14:21:38Z")

</div>

> [@Dor](#):
>
> This one does look like a grammar check:

Good point, let me look into that.

updates:Apple spellcheck can look at grammar. Most apps have it as spelling and grammar under the Edit menu where you can set one or both options. However in Obsidian it is not implemented that way and in the Obsidian settings under Editor under spellcheck the only option is on or off. I’d like to try turning grammar off and seeing if that helps but I can’t do so in Obsidian. I had assumed that since it only said spellcheck that only that was enabled in Obsidian.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 29, 2022, 2:30pm UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/16 "2022-07-29T14:30:00Z")

</div>

> <https://github.com/electron/electron/issues/3211#issuecomment-1199335373>
>
> On OS X apart from the basic spell-checking it also provides a "Spelling and Gra…mmar" menu that allows some more advanced operations:
> \<img width="666" alt="screen shot 2015-10-26 at 10 02 39 am" src="https://cloud.githubusercontent.com/assets/639601/10719716/bff72fd4-7bc8-11e5-9b97-980e9a75dd91.png"\>
> 
> Chrome browser has implemented most of the features, we should find a way to make Electron apps use it without any pain.

---

<div class="post-metadata">

**Author:** ![xinaes](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/a9a28c/32.png) [@xinaes](https://forum.obsidian.md/u/xinaes)\
**Post date:** [July 30, 2022, 7:06am UTC](https://forum.obsidian.md/t/false-positives-in-spellchecker-in-macos-monterey-spell-checker-and-grammar/41049/17 "2022-07-30T07:06:40Z")

</div>

That’s interesting, TextEdit does indeed flag it in the same way - as mentioned, I’d tried Pages and another browser-based MD editor that I believed to be using essentially the same system, and they both didn’t.
