Bug 125956 - LibreOffice-6.x Off-Line Help Should NOT Require XDG
Summary: LibreOffice-6.x Off-Line Help Should NOT Require XDG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.1.0.0.beta2+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: New-Help
  Show dependency treegraph
 
Reported: 2019-06-16 16:19 UTC by LAP
Modified: 2019-06-26 11:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LAP 2019-06-16 16:19:24 UTC
Description:
Attempting to use LiberOffice-6.x off-line help results in the following error message:

sh: /usr/bin/xdg-open: No such file or directory

Apparently, off-line help is hard coded to use the configure information in XDG to locate the browser for viewing off-line help pages.  On systems that do not use XDG the off-line help will fail.

Systems that do not use XDG cannot use off-line help.

The location of the browser to view help pages should NOT be hard coded to use XDG.  Rather, it shoud be configurable by the userthrough the regular Tools --> Options menu procedure.


Steps to Reproduce:
1. On system without XDG press F1 or call off-line help from menu
2.
3.

Actual Results:
Error message to console:

sh: /usr/bin/xdg-open: No such file or directory

Expected Results:
An installed browser


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Having a hard-coded dependency on XDG to locate the installed browser for help page viewing is not advisable.  People who do not need or desire XDG will be unable to use the off-line help.

The location of the browser should be configurable by the user through the standard Tools --> Options method.
Comment 1 Olivier Hallot 2019-06-26 11:50:46 UTC
xdg is used to interact with the Linux desktop. It is used in other places too: xdg-email, xdg-open, ....