Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Default spelling checking language

A topic by lvngbth created Dec 24, 2022 Views: 414 Replies: 17
Viewing posts 1 to 15

I'm using the appimage Linux version and every time I run it and start a new document, it wants to use US English to spellcheck.

Given that it remembers that I don't like the 'earthquake' of power mode, it would be nice if there was a way to get it to remember a different default language.

That ability to remember I've turned it off does mean that I'm not asking for screenshake to be set to zero as a default, but I am surprised that it isn't. Do other people like it?

Spellcheck language selection ought to be saving. What language or languages are you using for spellcheck?

moved this topic to Support

UK English.

(1 edit)

When you change to UK english, does the spellcheck appear to be correct (using UK spellings)?

If you make another settings change right now (like toggling autosave on or off), exit, and reopen Deepdwn, does that setting change “stick”, or has it reset back to the original value?

Is your settings file writeable? (~/.config/Deepdwn/settings.json)

When you make a change to your spellcheck language settings, is the settings file updated? spellcheck languages are stored under the spellcheck_languages key.

Yes, it spellchecks UK English when asked.


$ls -lha ~/.config/Deepdwn/settings.json
-rw-rw-r-- 1 ian ian 521 Dec 25 13:01 /home/ian/.config/Deepdwn/settings.json

.. so yes.

If I look inside, I can see

  "spellcheck_languages": [
    "en-GB"
  ],

If I close the program and reopen, that's still there, but Tools/Preferences/Spellcheck languages only shows US English (and all my nice UK English documents show spelling errors!) As I say, other settings seem to be remembered successfully.

Can you paste your ~/.config/Deepdwn/logs/error.log or last_error.log files, particularly after launching Deepdwn?

If you change your language to something else (other than UK or US English), exit and reopen Deepdwn, does your language preference remain, or does it revert back to US English?

They're both zero length files.

If I change to French (France), and delete the English option, it thinks almost everything is misspelt :) If I exit and restart, it does indeed revert to US English, even though 

  "spellcheck_languages": [
    "fr-FR"
  ],

is in settings.json.

And they 're both zero length files that get updated with each run:

$ ls -lha .config/Deepdwn/logs/
total 8.0K
drwxrwxr-x  2 ian ian 4.0K Dec 26 09:55 .
drwx------ 12 ian ian 4.0K Dec 26 09:56 ..
-rw-rw-r--  1 ian ian    0 Dec 26 09:55 error.log
-rw-rw-r--  1 ian ian    0 Dec 25 23:38 last_error.log

(restarts Deepdwn)

$ls -lha .config/Deepdwn/logs/

total 8.0K
drwxrwxr-x  2 ian ian 4.0K Dec 26 09:58 .
drwx------ 12 ian ian 4.0K Dec 26 09:58 ..
-rw-rw-r--  1 ian ian    0 Dec 26 09:58 error.log
-rw-rw-r--  1 ian ian    0 Dec 26 09:55 last_error.log

That’s very strange.

Do other settings save and reload successfully after launching? Dark mode, discord, etc?

Are you using a recent version of Deepdwn?

I haven’t tried changing every setting, but I haven’t noticed anything else not being sticky (no screenquakes!) 

Yes, this is with Deepdwn-0.37.0.AppImage, downloaded on the 23rd.

Is there a way to get some verbose logging?

I’m afraid not :(

A few things to try:

  • Can you share your settings.json file?
  • Can you exit Deepdwn, rename your settings.json file and relaunch (and then try changing your language setting, exiting, and seeing if it’s changed on reload)?
  • Do you have a separate machine you can test on?

Before moving and starting without one:

{
  "accent_color": "#d9556a",
  "project-directories": [
    "/home/ian/Documents/Markdown",
    "/home/ian/somewhere"
  ],
  "theme": "dark",
  "ignore_version": "0.33.0",
  "spellcheck_languages": [
    "en-GB"
  ],
  "powermode": false,
  "active_filters": [],
  "expanded_section": [
    "categories",
    "files",
    "tags"
  ],
  "expanded_folders": [
    "/home/ian/somewhere"
  ],
  "active_file": "/home/ian/somefile.md"

After doing that and changing a few (different) things:

{
  "project-directories": [
    "/home/ian/somewhere"
  ],  "expanded_folders": [
    "/home/ian/somewhere"
  ],
  "spellcheck_languages": [
    "en-GB"
  ],
  "theme": "auto",
  "power_shake_amount": 0,
  "active_file": "/home/ian/comefile.md",
  "active_filters": []

.. and on restarting, it's back to using US English although the en-GB remains in settings.json!

(Waits for someone to finish using the other PC in the room.)

It's painfully slow on low spec PCs, isn't it? None of the CPU cores is especially busy, there's plenty of spare RAM, so I'm guessing it would really like to avoid Intel integrated graphics...

Similar but different: if I delete US English and have UK English, what's in the settings.json file is both, and restarting results in it being US English only.

My PC is Linux MATE 21.1 (based on Ubuntu 22.04) with 'a reasonable for 2018' Ryzen and Nvidia graphics card. The other one is Ubuntu MATE 22.04, with

a i3-5005U and its integrated graphics.

Thanks for your patience, I’ve been able to reproduce it locally, and it should be fixed in the next release.

In the mean time, you should be able to toggle spellchecking on and off (once), and then the language selection should be read correctly on launch.

Trying on a third PC, it does it for me on WIndows too - I change the language, exit the program, run it again and it's back to US English.

(1 edit)

No problem - thank you for your Christmas-time tech support!

This has been fixed in v0.37.1

(+1)

Thank you again.