After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664296 - Shows a printer removed notification
Shows a printer removed notification
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: printers
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
gnome-settings-daemon-maint
3.10
Depends on:
Blocks:
 
 
Reported: 2011-11-17 19:11 UTC by William Jon McCann
Modified: 2015-04-13 11:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (34.31 KB, image/png)
2011-11-17 19:11 UTC, William Jon McCann
  Details
Do not show notification when printer is removed (1.72 KB, patch)
2015-04-09 11:14 UTC, mhatina
none Details | Review
Do not show notification when printer is removed (1.73 KB, patch)
2015-04-09 12:02 UTC, mhatina
none Details | Review
Do not show notification when printer is removed (1.73 KB, patch)
2015-04-13 11:12 UTC, mhatina
committed Details | Review

Description William Jon McCann 2011-11-17 19:11:03 UTC
Created attachment 201613 [details]
screenshot

When I remove a printer from the Printers panel I get a system notification that a printer was removed. Why do we show this?

It seems pretty strange to me.
Comment 1 Marek Kašík 2011-12-01 15:45:40 UTC
Do you suggests to remove the notification from gnome-settings-daemon entirely?
The notification doesn't seem strange to me. It seems to me pretty valid to notify user about removal of a printer.
And unfortunately, we can not disable the notification for the case when the user removes the printer in g-c-c.

Marek
Comment 2 William Jon McCann 2013-04-21 23:44:09 UTC
1. We should not be using notifications for actions initiated by the user in the foreground application - ever.
2. It isn't clear to me why I'd want a notification for this even if the printer is removed by an admin or some other way that me explicitly removing it.

I can't see a good reason for it and the design didn't call for it. Until one of those happen my preference is to remove it.
Comment 3 mhatina 2015-04-09 11:14:04 UTC
Created attachment 301200 [details] [review]
Do not show notification when printer is removed

Patch removes showing of notification when printer is removed. This action is initiated by user, so he already know about it.
Comment 4 Marek Kašík 2015-04-09 11:36:28 UTC
Review of attachment 301200 [details] [review]:

Thank you for the patch. It fixes this bug for me.
I'll ask you just for a change in the commit message. Place the 'print-notifications: ...' into the subject of the commit message and make it a little shorter (~60 letters), something like 'print-notifications: Don't show printer-removed notification'. It would be also good to explain there why you haven't removed the subscription to the 'printer-deleted' event.
I'll accept it after the change (with accepted-commit_after_freeze).
Comment 5 mhatina 2015-04-09 12:02:13 UTC
Created attachment 301201 [details] [review]
Do not show notification when printer is removed

Fixed subject and comment about subscription.
Comment 6 Marek Kašík 2015-04-09 12:19:21 UTC
Review of attachment 301201 [details] [review]:

Thank you for the changes. I'll push the patch to master once the 3-16 branch is created.
Comment 7 mhatina 2015-04-13 11:12:58 UTC
Created attachment 301450 [details] [review]
Do not show notification when printer is removed

Fixed comments in patch.
Comment 8 Bastien Nocera 2015-04-13 11:16:51 UTC
"actual" is a "false friend". Updated is the word you were looking for.
I've also added your full name as the authorship of the patch. Thanks!