[Bug 2148223] [NEW] helpviewer: improve viewer detection and robustness
Arnab Patra
2148223 at bugs.launchpad.net
Mon Apr 13 16:24:29 UTC 2026
Public bug reported:
The current helpviewer.py uses hardcoded paths (/usr/bin/yelp) and lacks
robust validation and logging.
This patch improves:
- Use shutil.which() instead of hardcoded paths
- Add support for khelpcenter (KDE help viewer)
- Validate documentation topic input
- Improve privilege handling when running under sudo
- Add logging for better diagnostics
No behavior changes intended.
** Affects: update-manager (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "helpviewer.patch"
https://bugs.launchpad.net/bugs/2148223/+attachment/5960933/+files/helpviewer.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2148223
Title:
helpviewer: improve viewer detection and robustness
Status in update-manager package in Ubuntu:
New
Bug description:
The current helpviewer.py uses hardcoded paths (/usr/bin/yelp) and lacks
robust validation and logging.
This patch improves:
- Use shutil.which() instead of hardcoded paths
- Add support for khelpcenter (KDE help viewer)
- Validate documentation topic input
- Improve privilege handling when running under sudo
- Add logging for better diagnostics
No behavior changes intended.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2148223/+subscriptions
More information about the foundations-bugs
mailing list