Bug 459058 - Fails to create printer without feedback for incorrect URI
Summary: Fails to create printer without feedback for incorrect URI
Status: RESOLVED FIXED
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 22.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 12:03 UTC by Paul Menzel
Modified: 2024-04-25 20:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Menzel 2022-09-13 12:03:32 UTC
Add a new printer, choose LPD and enter lpd://printer.example.net/. Follow and finish the dialog. No printer is created. Starting the dialog with `plasma-open-settings`, and doing it again, it says:

    libkcups: CUPS-Add-Modify-Printer last error: 1028 Bad device-uri "lpd://lpd://printer.examp.net".
    1028 "Bad device-uri \"lpd://lpd://printer.example.net\"."

It’d be great, if that error would be shown by the dialog too. (And maybe the dialog improved, so the schema is not entered by default as happened here.)
Comment 1 Mike 2024-04-23 15:04:32 UTC
We believe this issue to be resolved with Plasma6, can you try again with Plasma6 and report back?
Comment 2 Mike 2024-04-25 20:16:38 UTC
Git commit 44cb896226a0b74aacef2868c4e01f8b208ab94d by Mike Noe.
Committed on 25/04/2024 at 20:13.
Pushed by noee into branch 'master'.

kcm/qml: Add LPD device setup component

This device support is brought forward from the legacy add-printer app.
Related: bug 450154, bug 403189
FIXED-IN: 6.1

M  +3    -1    src/kcm/ui/FindPrinter.qml
A  +95   -0    src/kcm/ui/components/Lpd.qml     [License: GPL(v2.0+)]

https://invent.kde.org/plasma/print-manager/-/commit/44cb896226a0b74aacef2868c4e01f8b208ab94d