Bug 744144

Summary: Printer state reasons notified when I don't have jobs queued
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: gnome-settings-daemonAssignee: Marek Kašík <mkasik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: bnocera, mkasik, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: control-center-3.2.2-1.fc16.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-18 16:25:16 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-07 08:44:10 UTC
Description of problem:
I'm seeing printer state reasons (such as connecting-to-device) notified on-screen when *another user* submits a job to a queue.  To clarify: I have no jobs in the queue myself.

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.Create a queue.
2.Get another user to submit a job (e.g. from command line).  I tried as root.
  
Actual results:
Notification (due to bug #743877) shown on screen even though I am not printing to that printer.  This is a separate bug to bug #743877 though -- any state reason, e.g. media-empty-error, will trigger this.

Expected results:
Notifications only shown for printers that I have jobs queued for.

Additional info:
Worked in system-config-printer-applet.

Comment 1 Marek Kašík 2011-11-03 12:21:08 UTC
Hi,

I've just committed a fix for this into upstream's git. It will be available in
gnome-control-center-3.2.2 release (which should be available at 16th of
November).
I've created a hash table into which are names of printers to which I'm printing right now inserted. This hash table is consulted in callback of PrinterStateChanged signal.

Regards

Marek

Comment 2 Tim Waugh 2011-11-18 16:25:16 UTC
Fix confirmed with control-center-3.2.2-1.fc16.x86_64.  Thanks!