Having a printer is less common these days and having a tray icon sitting there in the popup all the time clutters the list.
Details
Details
- Reviewers
dantti - Group Reviewers
Plasma VDG - Commits
- R363:aba9f5aaf310: Hide printer applet if no printer is configured
- Verified that plasmoid is hidden when no printer is set up
- Verified that plasmoid is passive (hidden in popup) when printers are set up but no print job is active
- Verified that plasmoid is active (shows in panel) when print job is active
- Verified that error case still works (since I moved the jobModelError to root)
- Verified that serach box (only shows if there are many printers) still works
Ideally print-manager's kded module would expose some dbus service so we don't even load the plasmoid if no printer is configured but from what I can tell the kded module doesn't actually connect to cups but just listens to some dbus signals, so the gain is less than expected, it's either kded doing it or plasma doing it or both if printers then end up being configured
Diff Detail
Diff Detail
- Repository
- R363 Print Manager
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Does adding a printer show the entry?
Installing a printer through the KCM (or when one is auto-discovered) will make the entry appear in the System Tray popup. Uninstalling all printers makes it go away again.
Comment Actions
I think this makes sense the way you've broken it down:
- Visible on panel when in use
- Hidden on panel but shown in pop-up when not in use but has been configured
- Hidden everywhere when no printers are configured