[Patch] hp-systray doesn't support --qt5, but help message says it does

Bug #1925480 reported by zdohnal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
hplip (Fedora)
Unknown
Unknown
hplip (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

we have an issue in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=1951922) regarding hp-systray. Its help page ('hp-systray -h') says:

```
[OPTIONS]
  Use Qt5: --qt5 (Default)
```

but once you run 'hp-systray --qt5', you get:

```
error: option --qt5 not recognized
```

It is because 'setUsage()' automatically creates the option in help message if hplip is compiled with GUI, 'parseStdOpt()' doesn't add it to the list of approved options.

The attached patch fixes the issue.

Ubuntu 20.04 is affected too.

Tags: patch
Revision history for this message
zdohnal (zdohnal) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Proposed patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Shashank Kimothi (kim0-hplip) wrote :

fix released in HPLIP-3.22.4

Changed in hplip:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.