After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744117 - crash when right click on the document if no dictionaty for spell-check in the default language is found
crash when right click on the document if no dictionaty for spell-check in th...
Status: RESOLVED NOTGNOME
Product: gnome-latex
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: unspecified
Assigned To: LaTeXila maintainer(s)
LaTeXila maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-02-07 00:34 UTC by qifei9
Modified: 2015-02-15 19:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description qifei9 2015-02-07 00:34:11 UTC
If spell-check is enabled and no dictionaty for spell-check in the default language is found, latexila will crash when right click on the document.

For example, when "LANG=zh_CN.UTF-8" is set for the system and no dictionary for zh_CN is installed (not even one developed as it is actually not needed), open an English tex file with latexila, enable the spell-check and right click on the document, then latexila will crash. You even have no change to change the language of spell-check to English, although the dictionary for spell check in English is already installed.
Comment 1 Sébastien Wilmet 2015-02-07 09:51:11 UTC
Thanks for the bug report. I can reproduce the crash. The problem is in the GtkSpell library, so I've reported the problem there. I hope that the crash will be fixed soon.
Comment 2 Sébastien Wilmet 2015-02-15 19:38:14 UTC
The crash is fixed in GtkSpell, it'll be available with GtkSpell 3.0.7.

And in latexila the commit 6b535cf696d56e7daa0fc49d36d4766a1cccce53 better handles the case where the dictionary isn't found.