Bug 246704 - No way to rename a printer
Summary: No way to rename a printer
Status: RESOLVED FIXED
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
: 256723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-04 16:38 UTC by Thomas Damgaard
Modified: 2013-12-09 10:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of said text box (92.87 KB, image/png)
2013-12-09 10:58 UTC, Richard Llom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Damgaard 2010-08-04 16:38:36 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I just noticed that there is no way to rename a printer in Kubuntu 10.04.



Reproducible: Always

Steps to Reproduce:
 * Open System Settings > Computer Administration > Printers
 * Go to Local printers > Select a printer
 * Try to rename it. (there is no option for this)
Comment 1 Burkhard Lück 2012-04-25 07:53:03 UTC
*** Bug 256723 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Damgaard 2012-07-13 08:08:05 UTC
I can confirm this is still a bug in Kubuntu 12.04 LTS.
Comment 3 Sergeant 2012-12-08 12:38:10 UTC
I can confirm this is still a bug in Kubuntu 12.10. Printer name field is not editable and there is nothing like "rename" button
Comment 4 Richard Llom 2013-04-15 14:08:37 UTC
I latest KDE 4.10 there is a configure menu, in which the printer name is displayed in a (otherwise editable) text field. however here it is not.
So in short this bug is sill valid in KDE 4.10
Comment 5 Christoph Feck 2013-11-23 20:32:57 UTC
"system-config-printer-kde" is no longer maintained and has been replaced with "Print Manager" since KDE 4.10. The new version is a C++ rewrite of the old Python version, and may still lack some features or have some bugs.

If this or another issue still needs to be addressed in KDE 4.10 or newer, please add a comment, or report it for "Print Manager".
Comment 6 Richard Llom 2013-11-25 00:30:40 UTC
@Christoph
As I wrote in comment #4 this issue is also in the new rewritten "Print Manager".

Can you move the component?
Comment 7 Daniel Nicoletti 2013-11-25 10:30:27 UTC
You can only change the description of a printer, renaming it means deleting it and adding it back, which I won't support for obvious reasons.
This is a CUPS "limitation" which makes total sense as CUPS is network oriented, if you go to the official configuration interface aka http://localhost:631 the modify option only lets you change description and location.

Best.
Comment 8 Richard Llom 2013-11-25 16:19:10 UTC
Ok, if it is a CUPS limitation, I guess we have to live with it .. :-/

However, in the configuration dialog the printer name is a text box, where you can put your cursor in. This is not so nice, as it looks like you could actually edit the name.

Can you change this to a static text? So it is still copyable, but its obvious from the look of it that it cannot be edited?


I can upload a screenshot if necessary.
Comment 9 Daniel Nicoletti 2013-11-25 17:15:41 UTC
Git commit b8f0c8368cd8bc9b907386e72c63157d9e4b0cb0 by Daniel Nicoletti.
Committed on 25/11/2013 at 17:13.
Pushed by dantti into branch 'KDE/4.11'.

Replace the Configure Printer dialog LineEdit for the printer
name with a selectable Label to be more explicit about being
unable to change a printer name.

M  +1    -1    configure-printer/ConfigureDialog.cpp
M  +2    -8    configure-printer/ModifyPrinter.cpp
M  +1    -1    configure-printer/ModifyPrinter.h
M  +13   -11   configure-printer/ModifyPrinter.ui

http://commits.kde.org/print-manager/b8f0c8368cd8bc9b907386e72c63157d9e4b0cb0
Comment 10 Richard Llom 2013-11-25 21:21:29 UTC
Thanks, this was fast! :-O
Comment 11 Richard Llom 2013-12-09 10:58:53 UTC
Created attachment 84003 [details]
Screenshot of said text box

Hey, was this patch for 4.11.3?

Because it still looks like this here (see attachment), also notice the misleading tooltip.

I think it would be best, if the style would be like the "Configure" text above the name.
TIA