← Back to team overview

desktop-packages team mailing list archive

[Bug 1202198] Re: gnome-settings daemon notifies as error an info message

 

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.


** Patch added: "suppress-printer-connecting-to-device-notifification.patch"
   https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1202198/+attachment/4329475/+files/suppress-printer-connecting-to-device-notifification.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1202198

Title:
  gnome-settings daemon notifies as error an info message

Status in gnome-settings-daemon package in Ubuntu:
  Confirmed

Bug description:
  When sending a document to a printer, gnome-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.

  This leads to users sending twice or more any document as they think
  an issue has happened.

  Please find enclosed a screenshoot which shows the error message on
  the top left of the window

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-settings-daemon 3.4.2-0ubuntu0.6.2 [modified: usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml]
  Uname: Linux 3.3.6-030306-generic i686
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: i386
  Date: Wed Jul 17 15:30:23 2013
  InstallationMedia:
   
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1202198/+subscriptions