On Sun, 21 Nov 2010, Tomáš Pospíšek wrote:

* remove preferences, start, preview, scan -> "Operation canceled"
* remove preferences, start,          scan -> works!!!
* leave  preferences, start, preview, scan -> "Operation canceled"
* leave  preferences, start,          scan -> "Operation canceled"

When looking at the log, the difference seems to be that both "Preview" and the ``immediate'' "Scan" have an event flow like this:

  [pixma] Reader task id=... (threaded)
  [pixma] Setting non-blocking mode
  [pixma] Reader task started
  [pixma]
  [pixma] pixma_scan(): start
  [pixma]   line_size=...
  [pixma]   dpi=...
  [pixma]   gamma_table=...

Whereas when scanning *after* the preview, the event flow looks like this:

  [pixma] Reader task id=... (threaded)
  [pixma] Reader task started
  [pixma]
  [pixma] pixma_scan(): start
  [pixma]   line_size=...
  [pixma]   dpi=...
  [pixma]   gamma_table=...
  [pixma] Setting non-blocking mode

Notice the "Setting of the non-blocking mode" changing it's place in the event sequence order.
*t

Reply via email to