Bug 418563

Summary: "Share this printer" checkbox enables for a short time via "System preferences": Show inline message instead
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_printer_managerAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED FIXED    
Severity: normal CC: nate, noeerover, plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: 5.17.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:
Attachments: Screen recording

Description postix 2020-03-06 21:16:15 UTC
Created attachment 126641 [details]
Screen recording

SUMMARY

The "share this printer" checkbox is deactivated. However, it is possible to choose
"System preferences" -> "Share printers connected to this system".

This will result in enabling the checkbox "share this printer" for a half a second, then it
becomes deactivated again.

The terminal output may explain why, but for the average user, there's no hint why settings
behave like they do. 
I think the checkbox should not be activated in the first place and a hint should be displayed,
explaining why it's not possible to share the printer.


TERMINAL OUTPUT (PRINTER1 = the selected printer in the screen recording)

libkcups: -1 last error: 0 successful-ok
libkcups: "Scheduler shutting down due to program error."
libkcups: CUPS-Get-Printers last error: 1280 Success
libkcups: IPP_INTERNAL_ERROR: clearing cookies and reconnecting
libkcups: Failed to reconnect Invalid argument
libkcups: "Scheduler started on demand."
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: 5 "PRINTER1"
libkcups: 5 "PRINTER2"
libkcups: 3 "PRINTER3"
libkcups: -1 last error: 0 successful-ok
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: 5 "PRINTER1"
libkcups: 5 "PRINTER2"
libkcups: 3 "PRINTER3"



SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 5.5.7-1-MANJARO