Bug 157764 - Error "built-in help is not installed on your computer" when help is installed
Summary: Error "built-in help is not installed on your computer" when help is installed
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-14 09:34 UTC by L P Luigi Espenlaub
Modified: 2023-10-14 10:42 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 L P Luigi Espenlaub 2023-10-14 09:34:31 UTC
Description:
After confirming
"libreoffice-help-en-us is already the newest version (4:7.5.6-0ubuntu0.23.04.1)." 
And dependencies are present and correct
	libreoffice-common 		>= 1:6.1.0~
	libreoffice-help-common 	= 4:7.5.6-0ubuntu0.23.04.1
Help > LibreOffice Help Or press [F1] returns an Error pop-up stating that the above are not installed.
There are times I need the LibreOffice help when I do not have access to the internet
I have followed directions for installation of help from several sites including
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1869561
and 
https://wiki.documentfoundation.org/Documentation/Install/Linux#Installation_of_LibreOffice_on_GNU.2FLinux_systems
and continue to not have had a functional off-line help for months

I am unsure whether the component should be installation or LibreOffice however I am selecting the latter



Steps to Reproduce:
1. sudo apt-get update
2. sudo apt-get install libreoffice-help-en-us
        "libreoffice-help-en-us is already the newest version  
           (4:7.5.6-0ubuntu0.23.04.1)." 
3. In Synaptic Package Manager confirm dependencies are present and correct.
    Referance 
	libreoffice-common 		>= 1:6.1.0~
	libreoffice-help-common 	= 4:7.5.6-0ubuntu0.23.04.1
     [Reference: https://ubuntu.pkgs.org/23.04/ubuntu-updates-main-amd64/libreoffice-help-en-us_7.5.6-0ubuntu0.23.04.1_all.deb.html]

 In LibreOffice
4.  Click on Help > LibreOffice Help Or press [F1] 

Finding the HTML help files do exist
1.  Paste "/usr/share/libreoffice/help/en-US/text/swriter/00/00000004.html"
in LibreWolf browser [Both Firefox and Chrome report it as "file not found"] 
Which becomes "file:///run/user/1000/doc/637ad053/00000004.html"
and see the HTML text shown in "Other Information" below

This should show that the HTML help files do exist in /usr/share/libreoffice/help/en-US/text/

However the help or index.HTML files are strange
/usr/share/libreoffice/help/help.html     1.4 KiB [most other pages  ]
/usr/share/libreoffice/help/index.html    3.9 KiB [are 5KiB or higher]
which when I click on the latter shows up in Firefox with this address
file:///run/user/1000/doc/d883326b/latest/index.html
and reports the file cannot be found.
When opened in LibreWolf, it is a blank screen.



Actual Results:
Receive the following pop-up
"built-in help for current UI language (English(USA)) is not installed on your computer"   [read on-line] [cancel]

Expected Results:
That Firefox opens with the index page or table of contents found in,
/usr/share/libreoffice/help/en-US/text/
in opening possibly one of these files.
/usr/share/libreoffice/help/help.html
/usr/share/libreoffice/help/index.html



Reproducible: Always


User Profile Reset: Yes

Additional Info:
Contents of /usr/share/libreoffice/help/en-US/text/swriter/00/00000004.html
LibreOffice 7.5 Help
Contents
Index 🔎︎
Frequently-Used Buttons
Help

Click the Help button to open the help page associated with the currently open dialog.
Cancel

Clicking Cancel closes a dialog without saving any changes made.
Finish

Applies all changes and closes the wizard.
---------------------------------------------------------

LibreOffice
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 24; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

Operating System: 
Ubuntu Studio 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-1014-lowlatency (64-bit)
Graphics Platform: Wayland

Platform
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: NV172
Manufacturer: MicroElectronics
Product Name: G905
System Version: 1.0
Comment 1 Buovjaga 2023-10-14 10:42:04 UTC
This is a packaging issue, please report to Ubuntu.

In bug 148633, I understand Timur found that if both the browser and LibreOffice are Snap packages, F1 opens local help. Your problem does not sound the same, but asking Ubuntu packagers about it would be best.