https://bugzilla.novell.com/show_bug.cgi?id=888782
https://bugzilla.novell.com/show_bug.cgi?id=888782#c3
--- Comment #3 from Johannes Meixner 2014-08-01 12:18:18 CEST ---
Meanwhile I think yast2-printer should not implement a generic test
when print job processing has changed because I think this would be
"yet another oversophisticated automatism" - "YaOA" ;-), cf.
https://bugzilla.novell.com/show_bug.cgi?id=889591#c1
Because usually a change in printer driver RPMs (installation
or removal) changes print job processing, I think yast2-printer
should simply show the "Restart locally running CUPS daemon"
user confirmation popup in any case when printer driver RPMs
have been actually changed.
In the end this means one additional line of code (plus comment)
in /usr/share/YaST2/include/printer/driveradd.rb
------------------------------------------------------------------------------
if package_changed
Printer.ppds = []
Printer.connections = []
+ # Show the "Restart locally running CUPS daemon" user confirmation popup
+ # because usually a change in printer driver RPMs (installation or removal)
+ # changes print job processing which requires a restart of cupsd,
+ # see https://bugzilla.novell.com/show_bug.cgi?id=888782
+ Printerlib.GetAndSetCupsdStatus("restart")
------------------------------------------------------------------------------
At first glance this change works well for me.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.