Public bug reported: 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. ** Affects: hplip Importance: Undecided Status: New ** Affects: hplip (Ubuntu) Importance: Undecided Status: New ** Affects: hplip (Fedora) Importance: Unknown Status: Unknown ** Patch added: "Proposed patch" https://bugs.launchpad.net/bugs/1925480/+attachment/5490977/+files/hplip-systray-qt5.patch ** Also affects: hplip (Ubuntu) Importance: Undecided Status: New ** Bug watch added: Red Hat Bugzilla #1951922 https://bugzilla.redhat.com/show_bug.cgi?id=1951922 ** Also affects: hplip (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1951922 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/1925480 Title: [Patch] hp-systray doesn't support --qt5, but help message says it does Status in HPLIP: New Status in hplip package in Ubuntu: New Status in hplip package in Fedora: Unknown 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. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/1925480/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp