unity-settings daemon notifies as error an info message Edit

Bug #1426420 reported by Roland65
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
New
Low
Unassigned

Bug Description

[This bug is related to bug #1202198]

When sending a document to a printer, unity-settings daemon will show a message like:

ERROR: connecting to printer

Nevertheless, the document will print without any issue.
Actually this message is a warning or info message, as it is telling the user that it is connecting to the printer.

In Ubuntu 14.10 (Utopic), there are two packages that can be involved in gnome printer norifications: gnome-settings-daemon and unity-settings-daemon. The latter package seems to be a fork of the former, for Unity use I suppose.

These two packages come with a printer notification plugin. The one of gnome-settings-daemon is /usr/lib/gnome-settings-daemon/gsd-printer and the other is /usr/lib/unity-settings-daemon/usd-printer.

I found that if the gnome-flashback session (a.ka. "Gnome Classic") is used, the printer notification plugin involved is usd-printer, from the unity-settings-daemon package. I guess that gsd-printer is used in a Gnome Shell session (I don't use it so I can test my guessing).

So, to remove the connecting-to-printer false error message, I think the safest approach is to patch both packages, just by adding the lines:

 if (g_str_has_prefix (reason, "connecting-to-device"))
         return TRUE;

to the reason_is_blacklisted() static function in gsd-print-notifications-manager.c.

A patch is attached for the gnome-settings-daemon package and I'll also fill a bug report with a patch for the unity-settings-daemon package.

Ubuntu 14.10
unity-settings-daemon_14.04.0+14.10.20141014-0ubuntu1

Tags: patch
Revision history for this message
Roland65 (roland65) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "suppress-printer-connecting-to-device-notifification.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in unity-settings-daemon (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Roland65 (roland65) wrote :

Yes, the gnome-settings-daemon package has the same bug.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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