Comment 3 for bug 134480

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Two issue we had with Feisty seem to pop up again:
1) The 3 HPLIP menu entries clutter up the menu for people that don't have HP hardware.
In Feisty we did hide the HPLIP menu entries by setting NoDisplay=true in the desktop files. The HPLIP entries could be made visible by clicking System > Preferences > Main Menu which creates a copy of the desktop file in ~/.local/share/applications/ with NoDisplay=false. This approach should be avoided as it can lead to duplicate HPLIP menu entries on dist-upgrades because of name changes, additions or removals of desktop files.
2) People expect menu entries to work without the need to install extra packages. The python-qt3 package is not installed by default because this package and its dependencies take up too much space on the Ubuntu Desktop CD. After clicking the HPLIP entries a GUI message "the python-qt3 package must be installed for this program to work" is shown and the user needs to manually install this package.

I believe the best way to avoid these issues is to create a hplip-gui package as suggested by Till Kamppeter in bug #67892:

> So my suggestion is to move the 3 .desktop files into a
> separate binary package named "hplip-gui", but with the
> "NoDisplay=true" lines removed. "hplip-gui" will then depend on
> python-qt and hplip and it will only be installed by default on
> the Kubuntu (KDE-based) desktop CD but not on the desktop CDs
> of Ubuntu (GNOME) and Xubuntu (XFCE). the "hplip" package
> should recommend/suggest "hplip-gui" so that a package
> installer tool makes the user aware of the available GUI.

> So a user who wants to have the HPLIP GUIs on Ubuntu or Xubuntu
> has to install only the "hplip-gui" package and everything
> needed gets installed.

This would close the hplip upgrade task of bug #86893 and bug #67892 again.