Bug 9902 - Configuring a printer shouldn't require task-printing-hp if you don't have an hp printer
Summary: Configuring a printer shouldn't require task-printing-hp if you don't have an...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks: 18367 13083
  Show dependency treegraph
 
Reported: 2013-04-28 12:07 CEST by Perilio Castrol
Modified: 2016-10-15 22:26 CEST (History)
6 users (show)

See Also:
Source RPM: system-config-printer-1.3.12-5.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Perilio Castrol 2013-04-28 12:07:48 CEST
Description of problem:
The first time you open system-config-printer, it asks to install task-printing-server and task-printing-hp, even if you don't have an hp printer. You have to install the hp package in order to continue.


More information can be found in this Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=50689


How reproducible:
Always

Steps to Reproduce:
If you have never installed a printer in the system:
1. Open Mageia Control Center.
2. Go to Hardware, Set up the printer ...
3. You will see the pop up asking to install these packages.

Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-05-05 13:23:42 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => dmorganec

D Morgan 2013-09-18 00:15:56 CEST

Assignee: dmorganec => bugsquad

Comment 1 Alex Loginov 2014-03-25 09:57:42 CET
The first time you open system-config-printer, it asks to install task-printing-server and task-printing-hp, but no auto installed for task-printing.
I installed task-printing manually.

CC: (none) => loginov_alex

Alex Loginov 2014-03-25 10:59:43 CET

Blocks: (none) => 13083

Comment 2 Florian Hubold 2014-11-30 14:16:53 CET
(In reply to Alex Loginov from comment #1)
> The first time you open system-config-printer, it asks to install
> task-printing-server and task-printing-hp, but no auto installed for
> task-printing.
> I installed task-printing manually.

This is not related to the issue reported here. Also, why do you require task-printing?

CC: (none) => doktor5000

Comment 3 Alex Loginov 2014-11-30 14:20:56 CET
Florian, hi,
I have no HP printer, I have Samsung, then why I need task-printing-hp requirement, but not task-printing instead?
Comment 4 Florian Hubold 2014-11-30 21:35:21 CET
You need task-printing-server which is what it wants to install.
task-printing-hp is required to be able to add HP printers. Feel free to send a patch that does not break HP support and fixes the initially reported issue.

Same applies for e.g. not requiring task-printing-server if you don't have a local cups server, but want to connect directly to a remote cups server, where printers are installed. Feel free to send patches that enable that.
Comment 5 Rémi Verschelde 2014-12-18 17:40:01 CET
I confirm the issue reported in comment 0. In my case I have a Canon printer, but it did not suggest installing task-printing-canon, only task-printing-hp, so I had to install the canon one manually.

CC: (none) => remi

Comment 6 Florian Hubold 2014-12-18 23:48:06 CET
(In reply to Rémi Verschelde from comment #5)
> In my case I have a Canon printer, but it did not suggest installing
> task-printing-canon, only task-printing-hp, so I had to install the canon one
> manually.

Strictly speaking, that would actually be a completely different bug then reported in comment 0 - yours is about printer autodetection for canon, the initial report is about task-printing-hp being required for everybody.

IIRC the last time this was fixed and worked properly was quite some time ago:
http://svnweb.mageia.org/packages?view=revision&revision=226535
Feel free to fix our custom backends and related hooks and submit a fix to system-config-printer.
Comment 7 Rémi Verschelde 2014-12-19 07:50:27 CET
(In reply to Florian Hubold from comment #6)
> (In reply to Rémi Verschelde from comment #5)
> > In my case I have a Canon printer, but it did not suggest installing
> > task-printing-canon, only task-printing-hp, so I had to install the canon one
> > manually.
> 
> Strictly speaking, that would actually be a completely different bug then
> reported in comment 0 - yours is about printer autodetection for canon, the
> initial report is about task-printing-hp being required for everybody.
> 
The canon autodetection is indeed another bug, but the fact that task-printing-hp got installed when I have no HP devices seems to me to be precisely what comment 0 is about.
Comment 8 Alex Loginov 2014-12-19 09:01:52 CET
system-config-printer install nothing for popular printers, but install for hp for everybody. Solution: revert changes https://bugs.mageia.org/show_bug.cgi?id=4811
Comment 9 Florian Hubold 2014-12-21 17:22:29 CET
(In reply to Alex Loginov from comment #8)
> system-config-printer install nothing for popular printers, but install for
> hp for everybody. Solution: revert changes
> https://bugs.mageia.org/show_bug.cgi?id=4811

So you did verify that reverting that commit causes no regressions and fixes printer auto-detection so that necessary packages will be installed automatically?  Also that commit was never related to task-printing-hp but to task-printing installed for everybody.

See the link to the commit I've posted previously. Those changes need to be rechecked and maybe adapted to new version, and not reverted.
Marja Van Waes 2016-05-05 10:22:15 CEST

Blocks: (none) => 18367

Comment 11 Marja Van Waes 2016-08-10 19:41:18 CEST
On the 25th of July, Phillipem uploaded the following packages to 
Cauldron's core/updates_testing:

    system-config-printer-1.5.7-5.mga6.i586
    system-config-printer-applet-1.5.7-5.mga6.i586
    system-config-printer-udev-1.5.7-5.mga6.i586

    system-config-printer-libs-1.5.7-5.mga6.noarch

    system-config-printer-1.5.7-5.mga6.x86_64
    system-config-printer-applet-1.5.7-5.mga6.x86_64
    system-config-printer-udev-1.5.7-5.mga6.x86_64


@ Anyone reading this:

* If this bug is valid for you in cauldron, then please test whether updating your system-config-printer packages to version 1.5.7-5.mga6 fixes the problem and report back in this bug report.

* If you do not have this bug in cauldron, but you do run cauldron, then please update those packages, too, and report in bug 18367 whether they work as expected.

CC: (none) => marja11

Comment 12 Pana Sum 2016-08-13 23:15:58 CEST
I have tried version 1.5.7-8.mga6 and it still asks for task-printing-hp

CC: (none) => panasum

Samuel Verschelde 2016-10-15 22:26:07 CEST

Assignee: bugsquad => pkg-bugs


Note You need to log in before you can comment on or make changes to this bug.