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 678668 - paused vs off
paused vs off
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Printers
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-23 14:32 UTC by Matthias Clasen
Modified: 2013-01-09 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
printers: Control acceptance of jobs with enable switch (5.41 KB, patch)
2012-08-10 12:49 UTC, Marek Kašík
committed Details | Review

Description Matthias Clasen 2012-06-23 14:32:25 UTC
We should probably not show the printer status as 'Paused' and at the same time use on/off terminology in the switch.

The other problem I found is that the on/off switch currently just controls what s-c-printer alls 'enabled'. There is no way to make the printer stop accepting jobs in the printer panel. s-c-printer has separate checkboxes for these: 'enabled' and 'accepting jobs'. I think if we only want a single switch, we probably want to make it control both of these, so that a printer that has been switched 'off' does not accept jobs anymore.

Jon, opinions on this ?
Comment 1 William Jon McCann 2012-06-26 16:45:14 UTC
Yeah paused seems weird. Proposal seems reasonable to me. I'm still not sure why I'd turn a printer off anyway. But I suppose it can be turned off by an admin and locked down? In that case definitely don't want to queue jobs.
Comment 2 Marek Kašík 2012-08-09 13:06:23 UTC
I'm thinking about how to implement this. I would use this:

accepting_jobs && enabled == ON

pressing ON / OFF button would "enable printer, accept jobs / disable printer, reject jobs"

Hopefully users won't be confused by the state when !accepting_jobs && enabled (== OFF) because the printer is enabled but they see that it is OFF (I would add state "Not accepting jobs" for this case).

For the text of the state "Stopped" is probably the best solution.

What do you think about this?

(This is a tiny change but I would like to know whether you agree with this.)
Comment 3 Marek Kašík 2012-08-10 12:49:39 UTC
Created attachment 220871 [details] [review]
printers: Control acceptance of jobs with enable switch

This patch implements the mechanism mentioned in the previous comment.
Comment 4 Bastien Nocera 2013-01-09 13:26:21 UTC
I've removed the now unused "sensitive" variable as well.

Attachment 220871 [details] pushed as 3482dd1 - printers: Control acceptance of jobs with enable switch