https://bugzilla.novell.com/show_bug.cgi?id=837770
https://bugzilla.novell.com/show_bug.cgi?id=837770#c3
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P4 - Low
Status|NEW |ASSIGNED
Platform|x86-64 |All
Summary|When configuring a HP |yast2-printer:
|printer and trying Run |AddDriverDialog works
|hp-setup hplip is not |inconsistently regarding
|installed but hplip is |HPLIP RPMs (hplip-hpijs
|checked |versus hplip)
Severity|Normal |Minor
--- Comment #3 from Johannes Meixner 2013-09-03 11:07:19 CEST ---
Many thanks for your report!
It works as implemented intentionally by me in yast2-printer
but my implementation results confusing behaviour for the user.
Explanation:
I use my YCP source file for the explanation.
In 12.3 the YaST modules were automatically translated into Ruby
so that on your 12.3 system you won't have YCP files but Ruby files
where the Ruby files do exactly the same as the YCP files have done
(provided the automated translation did not introduce bugs).
In the YCP source file driveroptions.ycp it is implemented as follows
(excerpt with long lines wrapped here):
-----------------------------------------------------------------------------
any AddDriverDialog()
..
boolean hplip_installed =
Printerlib::TestAndInstallPackage( "hplip-hpijs", "installed" );
..
y2milestone( "entering AddDriverDialog with ...
hplip_installed:'%5' ...
hplip_installed ... );
..
( `CheckBox
( `id("hplip"),
...
hplip_installed
)
),
-----------------------------------------------------------------------------
The crucial point is that intentionally I test only if hplip-hpijs
is installed because hplip-hpijs provides the actual printer driver.
I do not test if hplip is installed because for the plain printing
functionality hplip is not mandatory.
Therefore from a technical point of view it is correct that
the AddDriverDialog shows that the HPLIP driver is installed
when only hplip-hpijs is installed.
Off the top of my head I don't know which printer driver related
packages get installed by default on openSUSE 12.3.
I assume that by default only hplip-hpijs gets installed.
This would be correct and in compliance with
https://bugzilla.novell.com/show_bug.cgi?id=808315
When only hplip-hpijs is installed you cannot run hp-setup
because /usr/bin/hp-setup is provided by hplip.
But when you remove HPLIP via the AddDriverDialog and
afterwards re-install it via the AddDriverDialog,
then the AddDriverDialog does not only install hplip-hpijs
but it installs hplip (which requires hplip-hpijs).
I.e. when you remove and re-install HPLIP via the AddDriverDialog
you get both hplip and hplip-hpijs installed.
Therefore it then works to run hp-setup (that is provided by hplip).
In the end the actual issue is that the AddDriverDialog
works inconsistently regarding HPLIP RPMs.
As far as I see there is no easy "bugfix" for that issue.
I think I would have to do some re-design of the AddDriverDialog
to make that dialog behave more explicit to the user regarding
what actually happens behind.
I tried to hide the hplip-hpijs versus hplip RPM packages stuff
from the user but now your issue report shows me that this does
not work well in the end.
Again many thanks for your report!
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.