Bug 743877

Summary: "Not connected?" message appears immediately when it shouldn't
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: gnome-settings-daemonAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: bnocera, cybertimber2000, mkasik, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-settings-daemon-3.2.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-19 14:57:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Waugh 2011-10-06 11:15:33 UTC
Description of problem:
When printing a document, it is expected that the printer state reasons will contain "connecting-to-device" to start with, and that it will disappear shortly thereafter (i.e. once it has actually connected to it).

There is a "Not connected?" notification shown immediately on printing a document to a printer that *is* connected.

Instead, gnome-settings-daemon should wait (e.g. for 60s, like system-config-printer does).  If "connecting-to-device" is *continuously* set for 60 seconds, then it's appropriate to show a notification about it.

Version-Release number of selected component (if applicable):
gnome-settings-daemon-3.2.0-1.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Print anything to a connected printer.
  
Actual results:
Unexpected notification that the printer is not connected.

Expected results:
No unusual notifications.

Comment 1 Cybertimber2011 2011-10-12 21:27:17 UTC
I also see this with an HP PSC 1610.
Filed bug 745630

Comment 2 Tim Waugh 2011-10-13 10:15:32 UTC
*** Bug 745630 has been marked as a duplicate of this bug. ***

Comment 3 Marek Kašík 2011-10-14 16:35:42 UTC
Hi,

I've committed a patch upstream which adds a timeout when encounters "connecting-to-device" reason. Its callback shows the notification "Not connected?" if not removed by removing of the reason from printer-state-reasons.
It will be part of g-s-d 3.2.1.

Regards

Marek