Pull scanner properties out into ScannerModel separate from MainModel.
-
onyxfish
- State changed from new to open
-
onyxfish
- State changed from open to resolved
On further review, this doesn't turn out to be sensible. SANE's notion of a scanner is something which only maintains state when it is open. Each time a fresh device list is queried all previous device states are lost. The fallout of this is that any attempt to wrap devices is going to require a huge amount of arm-twisting to keep the state objects in sync with the SANE objects. Rather than deal with this, I've elected to stick with the "one state for all devices" model and I've cleaned up the logic in MainModel so that I can mor easily trace the process of selecting devices.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.