[print-manager] [Bug 395885] Printer Settings should be saved under user profile, not global CUPS configuration

2018-07-11 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=395885

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[print-manager] [Bug 395885] Printer Settings should be saved under user profile, not global CUPS configuration

2018-06-28 Thread Angel Docampo
https://bugs.kde.org/show_bug.cgi?id=395885

--- Comment #4 from Angel Docampo  ---
Thank you Daniel for your fast answer and kind words. I will tell what you say
to whom may concern.

-- 
You are receiving this mail because:
You are watching all bug changes.

[print-manager] [Bug 395885] Printer Settings should be saved under user profile, not global CUPS configuration

2018-06-28 Thread Daniel Nicoletti
https://bugs.kde.org/show_bug.cgi?id=395885

--- Comment #3 from Daniel Nicoletti  ---
First let me better explain why I'm not going to fix this, I work on free time,
so my free time is precious, if this was a bug that crashed the software or
make it misbehave I'd surely fix it, but this is a FEATURE that I don't use,
and that CUPS AFAIK doesn't have any API to dealing with it, which means if I
add this feature and CUPS change the way it behaves tomorrow I'll have new bugs
to fix. Having a command line tool that does the job doesn't guarantee any
stability as the options might change breaking code at run time.

>I would love to provide a patch but I can't because I'm not a developer

If you are not a developer but is speaking in the name of a company you can pay
one to do it, even me as I do freelances. As I said before if the patch looks
good I might accept even with the breaks risk as I DO understand this is a nice
feature to have, but not one I'll use so I prefer to spend my time on other
stuff...

-- 
You are receiving this mail because:
You are watching all bug changes.

[print-manager] [Bug 395885] Printer Settings should be saved under user profile, not global CUPS configuration

2018-06-28 Thread Angel Docampo
https://bugs.kde.org/show_bug.cgi?id=395885

Angel Docampo  changed:

   What|Removed |Added

 CC||docampo.an...@gmail.com

--- Comment #2 from Angel Docampo  ---
Created attachment 113621
  --> https://bugs.kde.org/attachment.cgi?id=113621=edit
Per user settings override global settings.

I would love to provide a patch but I can't because I'm not a developer, and I
didn't see the code, but CUPS provide some utilities (lpoptions, lpq, lpstat,
lpadmin, and so) which modify the user's printers, without the need to be
superuser or root. You need (by default) to be root to add new printers, but
CUPS let the user set the default settings for each printer. 

If you see the attachment, you'll see how I had set the default printer with
`lpoptions -d printername` it will set printername as my user's default
printer, ignoring the settings I have on the print-manager -kate shows my
user's default printer, not the system printer shown on print-manager- as it
doesn't look at the user's configuration, but the global's one.

I think both home and enterprise users would benefit if print-manager looks
onto user's settings to set the printer preferences.

-- 
You are receiving this mail because:
You are watching all bug changes.

[print-manager] [Bug 395885] Printer Settings should be saved under user profile, not global CUPS configuration

2018-06-26 Thread Daniel Nicoletti
https://bugs.kde.org/show_bug.cgi?id=395885

Daniel Nicoletti  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Daniel Nicoletti  ---
print-manager doesn't touch any files by it's own, it only talks CUPS protocol,
which is what other desktops also do, I won't even try to write changes to
local user because that is likely to break since CUPS doesn't provide any API
for that.

I might accept a patch for this if this does look good. But most distros
already have the main user as root so that you don't get prompted, and speaking
of corporate CUPS process is so small that you usually will be talking to CUPS
on your own machine.

-- 
You are receiving this mail because:
You are watching all bug changes.