cilynx / pantomath

Pantomath knows about things
GNU General Public License v3.0
1 stars 0 forks source link

Automate manual duplexing #38

Open cilynx opened 1 year ago

cilynx commented 1 year ago

When manually duplexing, we're currently prompting the user to flip the stack and waiting for them to click a button to start the scan of the backs. We could improve user experience by polling the ADF and automatically dismissing the dialog once we get a successful scan start as opposed to an error for the ADF being empty.

https://github.com/cilynx/pantomath/blob/9fd30312b187debcbebd58633ebc5d6a50090e20/src/scanner.py#L140C17-L147C68

cilynx commented 1 year ago

This is non-trivial due to all of the async garbage required when working with the scanner. =(