unity-settings daemon notifies as error an info message Edit

Bug #1426419 reported by Roland65
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
New
Undecided
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

Revision history for this message
Roland65 (roland65) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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