simple-scan doesn't use selected scanner from settings

Bug #1092125 reported by Dan Berindei
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Simple Scan
Triaged
Undecided
Unassigned

Bug Description

I have two wireless all-in-one printers, one of them is in the local network and another is in another, unavailable, network. The available printer is set as the default.

Every time I start simple-scan, it tries to use the unavailable scanner. I can go into preferences and select the other scanner, and I can see with dconf-editor that the preference is indeed saved. However, when I re-start simple-scan, it switches to the unavailable scanner (the setting stays the same in dconf-editor, until I open the preferences dialog).

I have tried disabling the unavailable printer, but that doesn't make any difference - simple-scan still selects automatically it on startup.

I'm using simple-scan 3.4.1 on Fedora 17.

I have tried starting simple-scan with debugging enabled but I didn't get anything in the log.

Revision history for this message
Michael Nagel (nailor) wrote :

thanks for your bug report. could you attach an excerpt of what is stored in the config?
also could you attach a log created with:

2. Include the debug output of simple scan by running it from the command line: simple-scan --debug > simple-scan.log 2>&1

thanks!

Changed in simple-scan:
status: New → Incomplete
Revision history for this message
Dan Berindei (dan-berindei) wrote :

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.

Michael Nagel (nailor)
Changed in simple-scan:
status: Incomplete → Triaged
Revision history for this message
Michael Crider (mecrider) wrote :

This is still an issue using Simple Scan 3.12.1 in Ubuntu 14.04. We have 4 printer/scanners attached to our network. Choosing any scanner in the Preferences window (other than the first one) sets the selected-device field in settings. When you exit and restart Simple Scan and return to Preferences, the Scan Source dropdown will initially be empty (about 1 second), than will populate with the network scanners set to the first one. If you start Simple Scan and scan without opening Preferences first, it will scan from the first in the list, but does not change the stored settings. Here is my settings output:
$ dconf dump /org/gnome/simple-scan/
[/]
text-dpi=150
window-height=400
page-width=595
window-is-maximized=false
paper-width=0
window-width=600
paper-height=0
selected-device='hpaio:/net/Officejet_6700?zc=HP6C3BE59599A3'
page-dpi=72
photo-dpi=300
page-side='both'
document-type='text'
scan-direction='top-to-bottom'
page-height=842

My users would love to see this fixed, since there is no easy way to distinguish in the drop-down which one is theirs when we have more than one of the same model. They just have to memorize their position, and update their memory if the list changes.

summary: - simple-scan doesn't remember selected scanner
+ simple-scan doesn't use selected scanner from settings
Revision history for this message
Michael Crider (mecrider) wrote :

Attached is the debug output from opening Simple Scan with the above settings and doing "All Pages From Feeder" without going to Preferences.

Revision history for this message
Rakes Prasad (prasadrakes) wrote :

i have a same problem like that...also simple scan cant remember scanning dpi preference too...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.