Bug 141927

Summary: Spelling settings not preserved for OCR in a single program run.
Product: [Applications] kooka Reporter: Herman Viaene <herman.viaene>
Component: generalAssignee: Jonathan Marten <jjm>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version: 0.44   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Herman Viaene 2007-02-19 15:43:05 UTC
Version:           0.44 (using KDE 3.5.4, compiled sources)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.17-5mdv

I am scanning a lot of pages in Kooka and after each page scanned I run the OCR, so I never leave Kooka in the mean time!

Now each time the OCR starts, it always reverts to its standard settings. In my case, I have installed Mandriva in English and it uses UTF8. But the pages I am scanning are in Dutch, and I prefer in this case to use ISO 8859-15. Now for each page I have to re-set these choices every time.
This is becoming more than annoying.
Comment 1 Jonathan Marten 2008-03-23 18:56:08 UTC
Confirmed in SVN version.
Comment 2 Jonathan Marten 2008-03-27 11:20:23 UTC
SVN commit 790731 by marten:

Big reorganisation of OCR stuff, hopefully making it easier to
add new OCR engines in future.  The base OCR engine support and the
OCR dialogue are now abstract classes, subclassed by the 3 supported
OCR engines.

Correctly save OCR spell checking options, bug 141927
New action to manually do the OCR result spell check
No need to restart Kooka after changing OCR engine
Show a preview and image information when using "OCR Selection"
Restore labels on GOCR parameter sliders

Other fixes:

Hide the rarely used "Enable all messages..." action away in preferences dialogue
Correctly load startup image if path to gallery or $HOME contains a symlink
Correct fixed size of "lockzoom" toolbar icon, bug 133073
Use correct debug areas: kooka=28000, libkscan=29000

CCBUG:141927
CCBUG:133073



 M  +11 -8     Makefile.am  
 M  +1 -1      formatdialog.cpp  
 M  +2 -2      imgsaver.cpp  
 D             kocrbase.cpp  
 D             kocrbase.h  
 D             kocrgocr.cpp  
 D             kocrgocr.h  
 D             kocrkadmos.cpp  
 D             kocrkadmos.h  
 D             kocrocrad.cpp  
 D             kocrocrad.h  
 M  +96 -69    kooka.cpp  
 M  +3 -5      kooka.h  
 M  +1 -1      kookaimage.cpp  
 M  +1 -1      kookaimage.h  
 M  +64 -49    kookapref.cpp  
 M  +14 -10    kookapref.h  
 M  +2 -2      kookaui.rc  
 M  +103 -75   kookaview.cpp  
 M  +6 -2      kookaview.h  
 D             ksaneocr.cpp  
 D             ksaneocr.h  
 M  +1 -1      main.cpp  
 A             ocrbasedialog.cpp   kocrbase.cpp#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrbasedialog.h   kocrbase.h#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrengine.cpp   ksaneocr.cpp#781253 [License: GPL (v2) (+Qt exception)]
 A             ocrengine.h   ksaneocr.h#781253 [License: GPL (v2) (+Qt exception)]
 A             ocrgocrdialog.cpp   kocrgocr.cpp#784536 [License: GPL (v2) (+Qt exception)]
 A             ocrgocrdialog.h   kocrgocr.h#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrgocrengine.cpp   [License: GPL (v2) (+Qt exception)]
 A             ocrgocrengine.h   [License: GPL (v2) (+Qt exception)]
 A             ocrkadmosdialog.cpp   kocrkadmos.cpp#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrkadmosdialog.h   kocrkadmos.h#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrkadmosengine.cpp   [License: GPL (v2) (+Qt exception)]
 A             ocrkadmosengine.h   [License: GPL (v2) (+Qt exception)]
 A             ocrocraddialog.cpp   kocrocrad.cpp#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrocraddialog.h   kocrocrad.h#774594 [License: GPL (v2) (+Qt exception)]
 A             ocrocradengine.cpp   [License: GPL (v2) (+Qt exception)]
 A             ocrocradengine.h   [License: GPL (v2) (+Qt exception)]
 M  +85 -85    scanpackager.cpp  
 M  +2 -3      scanpackager.h  
 M  +10 -10    scanparamsdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=790731