Bug 832988

Summary: yast2-printer: hide the "hp-setup" stuff if no HP printer is selected
Product: [openSUSE] openSUSE Tumbleweed Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Johannes Meixner <jsmeix>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: 13.1 Milestone 3   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: No
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2013-08-02 07:29:39 UTC
Juergen Weigert told me about the followig enhancement:

Hide the "hp-setup" stuff if no HP printer is selected.

Reasoning:

In yast2-printer in the "Add New Printer Configuration" dialog
there is a [Run hp-setup] button with a heading line that reads:
"Alternative setup for HP printers:"

This is there in any case regardless what autodetected
printer model is currently selected by the user.

Juergen Weigert noticed users who click [Run hp-setup]
even for non-HP printers regardless of its heading line.

In this case nothing goes actually wrong - hp-setup
just does not do anything for non-HP printers.

But it indicates that (some) users think when the [Run hp-setup]
button is there, it makes sense even for non-HP printers
regardless of its heading line.

Therefore Juergen Weigert suggests to hide the "hp-setup" stuff
if no HP printer is selected.
Comment 1 Johannes Meixner 2013-08-02 07:54:21 UTC
The enhancement request is invalid.

The "hp-setup" stuff is available intentionally regardless
of what is autodetected or selected in yast2-printer.

Reason:

Assume there is a non-HP USB printer connected
and there is a WiFi network printer from HP.

USB printers are autodetected but
WiFi network printers are usually not autodetected.

The first autodetected printer is selected by default
so that the USB printer would be selected in yast2-printer.

Because the WiFi network printer from HP is not autodetected
it does not exist from CUPS' and yast2-printer's point of view.

There is no way in yast2-printer to get HP's WiFi network printer
selected (with reasonable effort - there is a complicated manual
way how an expert could achieve it - practically it is useless).

But HP's own hp-setup tool can be used to setup even
WiFi network printers from HP.

See the help text for the "Add New Printer Configuration" dialog:
---------------------------------------------------------------------------
An alternative way to set up HP devices is to 'run hp-setup'.
HP's own tool 'hp-setup' provides setup support in particular
for HP printers and HP all-in-one devices which require
a proprietary driver plugin to be downloaded from HP and
installed in the right way on a particular end-user's system.
Furthermore 'hp-setup' can provide better setup support
for HP network printers and HP all-in-one network devices
because HP's own tool can implement special handling
for special HP network devices.
---------------------------------------------------------------------------

Therefore "hp-setup" must be available to be run in any case
regardless of what is autodetected or selected in yast2-printer.