Bug 744144 - Printer state reasons notified when I don't have jobs queued
Summary: Printer state reasons notified when I don't have jobs queued
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-07 08:44 UTC by Tim Waugh
Modified: 2011-11-18 16:25 UTC (History)
3 users (show)

Fixed In Version: control-center-3.2.2-1.fc16.x86_64
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-18 16:25:16 UTC
Type: ---


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.