[snap] Spellchecking appears to be not working

Bug #1797779 reported by 林博仁(Buo-ren, Lin)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Triaged
High
Unassigned

Bug Description

Possibly related console output:

```
(gedit:16993): GLib-GIO-WARNING **: 22:40:02.951: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(gedit:16993): gspell-WARNING **: 22:40:03.068: iso_639.xml: Failed to open file ?/usr/share/xml/iso-codes/iso_639.xml?: open() failed: No such file or directory

(gedit:16993): gspell-WARNING **: 22:40:03.068: iso_3166.xml: Failed to open file ?/usr/share/xml/iso-codes/iso_3166.xml?: open() failed: No such file or directory
```

The check spelling window spills "Error: Spell checker error: no language set. It’s maybe because no dictionaries are installed."

In the poedit snap that uses GtkSpell and Enchant to implement the spellchecking we patched the iso-codes prefix and packs all the spellchecking dictionaries to solve the issue:
https://github.com/vslavik/poedit/blob/master/snap/snapcraft.yaml

Also, I've packaged a Hunspell content snap that provides the dictionaries:
https://forum.snapcraft.io/t/the-hunspell-dictionaries-content-snap/7160

Tags: snap
tags: added: snap
Revision history for this message
Sebastien Bacher (seb128) wrote :

The iso-codes issue got resolved with https://gitlab.gnome.org/GNOME/gedit/commit/0b3c018d

The snap doesn't include dictionnaries though...

Changed in gedit (Ubuntu):
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.