Bug 316792 - print-manager behaves bad when no local CUPS is running
Summary: print-manager behaves bad when no local CUPS is running
Status: RESOLVED FIXED
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
: 317075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-15 18:59 UTC by Elias Probst
Modified: 2013-05-28 22:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2013-03-15 18:59:27 UTC
KDE 4.10.1

When no local CUPS is running, print-manager spams this line twice a second to ~/.xsession-errors:

KCupsConnection::retry: cupsLastError(): 1282 No such file or directory

Furthermore, when no local CUPS can be reached, the applet doesn't indicate any issue at all:
- the icon just looks normal
- the popup is just like a white canvas with no content at all

If no local CUPS can be reached, print-manager should:
- reduce the "SPAM" in ~/.xsession-errors
- indicate through its icon, that something's not working
- show a message like "No running CUPS found" in a tooltip and/or the popup
- NOT show an empty popup without any content at all
Comment 1 Daniel Nicoletti 2013-05-28 22:44:50 UTC
*** Bug 317075 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Nicoletti 2013-05-28 22:55:50 UTC
Git commit a88ef4abe5c69c6658d247b5966643a7296e9239 by Daniel Nicoletti.
Committed on 29/05/2013 at 00:54.
Pushed by dantti into branch 'master'.

When CUPS starts or stops serverAudit is emitted on DBus,
so update the models, the UI and show appropriate error
message on the KCM and plasmoid if an error like not
being able to reach the server is set.

M  +11   -3    libkcups/JobModel.cpp
M  +9    -9    libkcups/KCupsConnection.cpp
M  +1    -1    libkcups/KCupsConnection.h
M  +5    -5    libkcups/KCupsRequest.cpp
M  +33   -6    libkcups/PrinterModel.cpp
M  +5    -0    libkcups/PrinterModel.h
M  +7    -2    plasmoid/package/contents/ui/printmanager.qml
M  +9    -4    printer-manager-kcm/PrintKCM.cpp

http://commits.kde.org/print-manager/a88ef4abe5c69c6658d247b5966643a7296e9239