Bug 3359

Summary: LyX should default to enchant engine or come with configured hunspell directory
Product: Mageia Reporter: JeanClaude Colette <colette.jc>
Component: RPM PackagesAssignee: Thomas Spuhler <thomas>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fundawang, thierry.vignaud
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
URL: http://www.lyx.org/trac/ticket/7884
Whiteboard:
Source RPM: lyx-2.0.1-2.mga2.src.rpm CVE:
Status comment:

Description JeanClaude Colette 2011-11-16 13:01:00 CET
Hello,

Under KDE, the spell checker of LyX crash and in fact it is because you have not compiled lyx with aspell-devel or hunspell-devel installed.
Moreover in math mode, delimiters [] do not appear correctly in the dialog box on the screen. It is replaced by alphanumeric symbols. Here I do not know where it may come.

Cordially, J.-C.
Comment 1 Manuel Hiebel 2011-11-16 19:20:30 CET
Hi, thanks for reporting this bug.

"Moreover in math mode, delimiters [] do not appear correctly in the dialog box
on the screen. It is replaced by alphanumeric symbols. Here I do not know where
it may come."

I think you should report that to upstream.

For the first part, go with the maintainer

Keywords: (none) => Triaged
Assignee: bugsquad => thomas

Comment 2 Thomas Spuhler 2011-11-17 05:02:14 CET
it doesn't crash here, but it doesn't find any typos either

the spec file has:

BuildRequires:	hunspell-devel enchant-devel

and

%configure2_5x --with-frontend=qt4 --disable-rpath \
	--without-included-boost \
	-enable-optimization="%{optflags}" \
	--with-enchant --with-hunspell
Comment 3 JeanClaude Colette 2011-11-17 10:53:04 CET
Hello,

On my computer, a box appears and asks if you want to start at the beginning of the document and spell checker disappears.
It is perhaps in this case a problem with aspell aspell-devel options.

Otherwise I would note that I made a backport of lyx of the cauldron to a magia.

cordially
Comment 4 Thomas Spuhler 2011-11-18 05:05:23 CET
This bug has been reported upstream as Ticket #7884
If you put the path in, it work fine on my box.
But there is another issue: even as hunspell is installed, there may not be any dictionary installed.

Status: NEW => ASSIGNED

Comment 5 JeanClaude Colette 2011-11-18 11:30:45 CET
I just looked and aspell, hunspell, enchant are installed
aspell version 0.6
hunspell 02/01/12
enchant 1.6.0
And it may be a difference in version.

Ah ok, with the path in options, it works. Thank you.
Comment 6 Kamil Rytarowski 2011-11-28 14:32:36 CET
*** Bug 3520 has been marked as a duplicate of this bug. ***

CC: (none) => thierry.vignaud

Thierry Vignaud 2011-11-28 14:50:18 CET

URL: (none) => http://www.lyx.org/trac/ticket/7884

Thierry Vignaud 2011-11-28 23:26:41 CET

CC: (none) => fundawang
Summary: LyX no spell checker and bad symbols => LyX should default to enchant engine or come with configured hunspell directory

Comment 7 Thomas Spuhler 2011-12-02 05:22:30 CET
I'll leave this open until the default mageia spellchecker has been determined and how it will be installed.
Comment 8 Thomas Spuhler 2011-12-12 00:41:53 CET
I had my HD dying and needed to install from scatch. The system installed hunspell-(lang) automatically. We should be ok.
I will close this one as solved/worksforme. If these is still a problem, please re-open

Status: ASSIGNED => RESOLVED
Resolution: (none) => WORKSFORME

Comment 9 Thierry Vignaud 2011-12-12 08:34:16 CET
Id does NOT work at all.
Next time please test lyx instead of just testing if installing pulls the right packages

Status: RESOLVED => REOPENED
Resolution: WORKSFORME => (none)

Comment 10 Thomas Spuhler 2012-03-11 00:28:28 CET
The package has been upgraded.  Is this problem still prevalent:
In math mode, delimiters [] do not appear correctly.

The spellchecker works if enchant is used. If Hunspell is chosen, it reports the dictionary is missing, even as the hunspell dictionary is installed.
I keep working on this.
Comment 11 Funda Wang 2012-03-13 02:36:59 CET
Maybe we should just disable hunspell in lyx, as our enchant defaults to hunspell now.
Comment 12 Thomas Spuhler 2012-03-13 05:54:59 CET
If this is the case, I agree. I will rebuild it without hunspell
Comment 13 Thomas Spuhler 2012-03-16 02:45:34 CET
The package has been rebuilt with enchant only. It work here. 
I will close this as solved. If there is still a bug present, please file a new bug

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED