Bug 25346

Summary: Hplip icon system tray starts automatically unnecessarily.
Product: Mageia Reporter: Jose Manuel López <joselp>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, marja11, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7TOO
Source RPM: hplip CVE:
Status comment:

Description Jose Manuel López 2019-08-23 16:58:39 CEST
Description of problem: Hplip icon system tray starts automatically even if it is not necessary

Version-Release number of selected component (if applicable): Mageia 7 64Bits


How reproducible: Install cups and reboot, install printer other than hp. The hplip icon system tray starts automatically consuming unnecessary resources, since I don't have an hp printer


Steps to Reproduce:
1. Install cups and reboot
2. Install printer other than hp
3. Reboot
Comment 1 Jose Manuel López 2019-08-23 17:02:10 CEST
I think that hplip systray shouldn't start if there isn't installed printer hp in the system.

Greetings.
Comment 2 Marja Van Waes 2019-08-31 16:33:37 CEST
Which desktop environment are you using, José?

I see the same behaviour with Plasma5, but must say that it was quite a while ago that I installed my (non-HP) printer.

I'll try whether renaming the /etc/xdg/autostart/hplip-systray.desktop helps

Source RPM: Hplip => hplip
Keywords: (none) => NEEDINFO
CC: (none) => geiger.david68210, marja11
Version: 7 => Cauldron
Whiteboard: (none) => MGA7TOO

Comment 3 Marja Van Waes 2019-09-01 08:32:59 CEST
(In reply to Marja Van Waes from comment #2)
> Which desktop environment are you using, José?
> 
> I see the same behaviour with Plasma5, but must say that it was quite a
> while ago that I installed my (non-HP) printer.
> 
> I'll try whether renaming /etc/xdg/autostart/hplip-systray.desktop helps

That does indeed help.

But this is your bug report, Jose, so please tell (in this report) whether that helps for you, too, and which desktop environment you're using (KDE/Plasma5, Gnome, Xfce, Mate, Cinnamon.... we have so many of them)
Comment 4 Jose Manuel López 2019-09-02 06:54:36 CEST
I use desktop Plasma 5 with Mageia 7.1 x64. I found a fix for this problem in the web.

The file /etc/xdg/autostart/hplip-systray.desktop needs to be renamed "hplip-systray.desktop-DISABLE", and the service does not start automatically, but I think this should be done automatically by default, and return to its original name in case an hp printer is installed.

Greetings.
Comment 5 Marja Van Waes 2019-09-04 14:49:38 CEST
There is no registered maintainer for hplip and, afaik, this issue only occurs in Plasma5.

Maybe it can be fixed on Plasma5 side. Assigning to KDE team.

Assignee: bugsquad => kde

Marja Van Waes 2019-09-04 14:49:43 CEST

Keywords: NEEDINFO => (none)

Comment 6 Jose Manuel López 2021-02-15 17:24:11 CET
Any progress on this?

Greetings!
Comment 7 Aurelien Oudelet 2021-02-15 17:37:31 CET
This appears on all desktop with a systray and that user does not want hplip because he does not have an HP printer.

This is due that clicking on Setup printer... in MCC triggers gurpmi2 to install task-printing-server AND task-printing-hp.
This is hard-coded in MCC behaviour.

Duplicate.

*** This bug has been marked as a duplicate of bug 9902 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED
CC: (none) => ouaurelien