Spellcheck Bug

Operating system

Linux

Joplin version

3.6.14

Desktop version info

Joplin 3.6.14 (prod, linux)

Device: linux, Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
Client ID: bbb3b3a38dfc49138b266c5cd83c340b
Sync Version: 3
Profile Version: 49
Keychain Supported: No
Alternative instance ID: -
Sync target: Dropbox
Editor: Markdown

Backup: 1.5.1

Editor

Markdown Editor

What issue do you have?

I've noticed a strange bug after downloading the latest version of Joplin on Linux. Spellcheck sort of doesn't work. Every time I open the program the first time, it doesn't work even with both spell check boxes ticked (the one from the drop down menu and the setting in the options menu).

I've messed around with it and I've discovered that the spellcheck only works if I go to "Show Advanced Settings" in the Editor menu in Options, and enable "Use the legacy Markdown Editor". HOWEVER, the spellcheck will only work in that session. If I close Joplin and re-open it, the spellcheck will stop working again, and I have to go into options, uncheck "Use the legacy Markdown Editor", click apply, and then re-check it to get it to work.

I've messed around with it and this is the only method I've found to get it to work. I can't find anyone else with this issue.

@JoshsJunkDrawer welcome to the forum.

You are not alone, this is also happening to me. I did make a reference to it in another post a few weeks back but I have not had the time to raise a GitHub issue. It seems that the markdown editor (not legacy) spellchecker stopped working with 3.6.14. Revert to 3.6.13 and the spellchecker works as normal. I do not know if it is also broken on the Windows & Mac clients.

EDIT:
This is possibly a Linux issue as the markdown editor spellchecker appears to work normally for Joplin Desktop v3.6.14 on Windows

its working on linux here in version 3.7.1

Edit: nevermind, I do see that it stops working after you close/relaunch joplin

Had to edit my previous post about reverting to 3.6.13 as after reading the above comment I found that the 3.6.13 spellchecker stopped working after Joplin was closed and restarted.

I did find that switching the spellchecker off and on again (sigh!) using Tools > Spellchecker > Use spellchecker caused it to work again after a short delay for both 3.6.13 & 14. Quitting Joplin means that the spellchecker does not work again upon restart unless Tools > Spellchecker > Use spellchecker is used to switch it off and on again.

I noticed that I cannot re-create the issue with the latest github code (it keeps working with repeated close/re-launch), I suspect it might be fixed with commit Desktop: Upgrade to Electron 42.3.0 (#15571) · laurent22/joplin@98372a3 · GitHub

	public initialize() {
		// Workaround: With Electron 42 on Linux, it's necessary to initialize the spellchecker with an empty set of
		// languages. Without this, the spellchecker ignores the default provided languages.
		this.setLanguages([]);
	}

so might start working again in the next pre-release

EDIT: as a workaround, I noticed that just toggling any language on/off from the spellcheck menu also works

Hello, thanks! Sorry I didn't see your previous post. Yeah, I reverted to 3.6.13 and I'm still having the same issue, unfortunately. Which is strange, since that was the version I was using prior and it worked fine. I no longer have a Windows machine to test that version against. Perhaps I'll try 3.6.11 and see where that gets me.