Tim, what do you think about making the following notification behavior
the upstream default in system-config-printer?

https://wiki.ubuntu.com/NotifyOSD#system-config-printer

We do away with notification bubbles in general and instead, we do the
following:

* When a printer is added successfully using a matching printer driver, a 
“Printer added” notification bubble appears containing the text “`%s' is ready 
for printing.” and a “Configure” button. Instead, the Properties window for 
that printer should open unfocused directly.
* When a printer is added successfully using a non-matching printer driver, a 
“Printer added” notification bubble appears containing the text “%s' has been 
added, using the %s' driver.” and a “Find driver” button. 
(system-config-printer 1.1 will also include a “Print test page” button.) 
Instead, the Properties window for that printer should open unfocused.
* When you try to view jobs on a printer that requires authentication, an 
“Authentication required” notification bubble appears containing the text “Job 
requires authentication to proceed” and an “Authenticate” button that brings up 
an alert box saying “Authentication required for printing document `%s' (job 
%d)”. The notification bubble should be abolished, and the alert box should be 
invoked directly instead.
* When a print job gets stuck for some reason, a notification bubble appears 
containing text “There was a problem processing the document” or similar, 
containing no buttons but staying open until it is clicked. This should be 
converted to an error alert box with an “OK” button. 

ken, pitti, Matthew, if Tim does not agree to make this behavior
default, we need to have both this new and the old behavior available in
the upstream code. By default, the new behavior should be used in the
case that the notification facility is not supporting actions and the
old behavior otherwise. In addition, a "./configure" option should also
allow to force the old or the new behavior.


** Changed in: system-config-printer (Ubuntu)
   Importance: Medium => High

-- 
system-config-printer notification patch should auto-detect capabilities of 
notification daemon, so that it can get upstreamized
https://bugs.launchpad.net/bugs/339847
You received this bug notification because you are a member of Canonical
Desktop Experience Team, which is a direct subscriber.

Status in System Config Printer: Confirmed
Status in “system-config-printer” source package in Ubuntu: Triaged

Bug description:
Binary package hint: system-config-printer

Recently the default notification daemon in Ubuntu was replaced by a notify-osd 
which does not support action buttons.

Therefore system-config-printer was patched to work without action buttons if 
needed, by using pop-up dialogs. Unfortunately this patch cannot be applied 
upstream, as the check for the notification daemon type is done in a 
Ubuntu-specific way:

if os.environ.get('GDMSESSION') == "gnome-stracciatella":

This should be replaced by a generic check on the notification daemon 
capabilities, using the Python equivalent of the function

GList *notify_get_server_caps(void);

(/usr/include/libnotify/notify.h). It should be "pynotify.get_server_caps()". 
As there are notification daemons with and without action button support, the 
assumption of system-config-printer to have action button support is an 
upstream bug which can be fixed by upstreamizing this patch.

Ken VanDine, can you please fix the patch? Thanks.

_______________________________________________
Mailing list: https://launchpad.net/~dx-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dx-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to