[sane-devel] About the trouble about the operativity of kooka

Klaas Freitag freitag@suse.de
Thu, 3 Jul 2003 17:33:51 +0200


--Boundary-00=_fzEB/TepsqDxJBs
Content-Type: text/plain;
  charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

attached you find a very small patch that applies to the kooka V. 0.40
source, that probably fixes the problem, that your can not switch the
scanning source.

Can you (or anybody else) apply the patch, compile and try?

Thanks,

Klaas

> >
> > Well, the ADF support in Kooka is still very buggy. That is mainly
> > because I do not have a Scanner with ADF support. Sorry.
> > If you could try to describe the problem more in detail, I can try
> > to help you. Please consider to update Kooka, 0.35 is quite outdated,
> > you should try to update to version 0.40 (although that does not solve
> > the ADF-problem probably, but some others).
>
> In the following environment, it tested immediately.
>  Redhat: V9
>  Kooka: V0.39 (KDE-3.1-10).
>
> However, the result was NG.
> Kooka resets to ADF.
>
> Kooka is updated to 0.40.
> And i try.



-- 
                                               Klaas Freitag
                              Internal Tools - SuSE Linux AG

--Boundary-00=_fzEB/TepsqDxJBs
Content-Type: text/x-diff;
  charset="iso-2022-jp";
  name="kooka-0.40.dif"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="kooka-0.40.dif"

--- libkscan/scanparams.cpp
+++ libkscan/scanparams.cpp	2003/07/03 15:21:29
@@ -551,7 +551,7 @@
 	 adf = d.getAdfBehave();
 
 	 /* set the selected Document source, the behavior is stored in a membervar */
-	 so.set( sel_source.latin1() ); // FIX in ScanSourceDialog, then here
+	 so.set( QCString(sel_source.latin1()) ); // FIX in ScanSourceDialog, then here
 	 sane_device->apply( &so );
 
 	 kdDebug(29000) << "Dialog finished OK: " << sel_source << ", " << adf << endl;

--Boundary-00=_fzEB/TepsqDxJBs--