Comment 2 for bug 1092125

Revision history for this message
Dan Berindei (dan-berindei) wrote : Re: simple-scan doesn't remember selected scanner

1. I dumped the config after setting the correct scanner in the preferences (Photosmart B110):

[dan@localhost] dconf dump /org/gnome/simple-scan/
[/]
document-type='text'
page-dpi=150
page-height=1753
page-side='both'
page-width=1275
paper-height=0
paper-width=0
photo-dpi=300
save-directory='/home/dan/Downloads'
scan-direction='top-to-bottom'
selected-device='hpaio:/net/Photosmart_B110_series?zc=HPCBxxxx'
text-dpi=150
window-height=400
window-is-maximized=true
window-width=600

2. After that I ran `simple-scan --debug > simple-scan.log 2>&1` and clicked the 'Scan' button. After a while I got an error in the GUI and I dumped the config again - it looked exactly the same.

3. I then closed the application and dumped the config again - this time the 'selected-device' line changed to the unavailable scanner (Photosmart 5520):
selected-device='hpaio:/net/Photosmart_5520_series?zc=HPxxxxxAxxxxxx'

4. I checked the log and it only contained this line:

** (simple-scan:1937): WARNING **: scanner.vala:801: Unable to get open device: Error during device I/O

Note: I mangled the printer ids.