sane-project-website/old-archive/1999-04/0225.html

64 wiersze
3.3 KiB
HTML

<!-- received="Wed Apr 14 20:34:31 1999 PDT" -->
<!-- sent="Thu, 15 Apr 1999 13:36:49 +1000 (EST)" -->
<!-- name="Graham Stoney" -->
<!-- email="greyham@research.canon.com.au" -->
<!-- subject="xscanimage spins when scan cancelled" -->
<!-- id="199904150336.NAA24231@sid.research.canon.com.au" -->
<!-- inreplyto="" -->
<title>sane-devel: xscanimage spins when scan cancelled</title>
<h1>xscanimage spins when scan cancelled</h1>
<b>Graham Stoney</b> (<a href="mailto:greyham@research.canon.com.au"><i>greyham@research.canon.com.au</i></a>)<br>
<i>Thu, 15 Apr 1999 13:36:49 +1000 (EST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#225">[ date ]</a><a href="index.html#225">[ thread ]</a><a href="subject.html#225">[ subject ]</a><a href="author.html#225">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<li> <b>Previous message:</b> <a href="0224.html">Joao Pedras: "Re: new release delayed"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<li> <b>Reply:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
G'day SANE developers,<br>
<p>
Firstly, congratulations on the fine work you folk have been doing as part of<br>
the SANE effort. It's certainly an impressive work, and a nice clean interface.<br>
May you all live long and prosper.<br>
<p>
Unfortunately I have a problem I was wondering if anyone could shed some light<br>
on. xscanimage hasn't been my friend today, and I'd like to make amends. The<br>
problem I'm having is that cancelling a scan doesn't work. My sane_cancel<br>
function gets called and xscanimage stops calling sane_read, but the "Scanning"<br>
panel with the progress bar never disappears. Attaching to xscanimage in<br>
gdb reveals that it's spinning around g_main_iterate chewing CPU time.<br>
Continuing to press the "Cancel" button on the "Scanning" panel causes<br>
sane_cancel to be called again, but my backend has well and truly stopped by<br>
this time, so it has no further effect.<br>
<p>
I tried upgrading libg and libgtk to 1.2.1, but with no improvement. Short of<br>
continuing to tear my remaining hair out or embarking on a multi-year course of<br>
study in the finer points of gtk, does anyone have any suggestions as to what<br>
might be causing this? I'm on a Red Hat 5.1 Linux system with sane 1.0.1-pre4.<br>
<p>
Thank you in advance,<br>
Graham<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<li> <b>Previous message:</b> <a href="0224.html">Joao Pedras: "Re: new release delayed"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<li> <b>Reply:</b> <a href="0226.html">Tim Waugh: "Re: xscanimage spins when scan cancelled"</a>
<!-- reply="end" -->
</ul>