Bug 144099

Summary: Missing x-scheme-handler association at install avoid online edit from browser
Product: LibreOffice Reporter: Christopher POTTER <cpotter>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: juanjo
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:

Description Christopher POTTER 2021-08-26 08:22:02 UTC
If you try to launch Libreoffice from a web application on Ubuntu (other distro also), you will get a :

- "Failed to launch 'ms-word:" "scheme does not have a registered handler" 
or
- "Failed to launch 'vnd.libreoffice.command:" "scheme does not have a registered handler"

depending of the launch method.

You can also show the problem from the command line :

$ xgd-open ms-word:ofe|u|https://serveraddress/path/to/file.docx
or
$ xgd-open vnd.libreoffice.command:ofe|u|https://serveraddress/path/to/file.docx

$ "gio: the specified location is not supported"

Environment : Ubuntu 20.04LTS, Libreoffice 6.5.7.2 and 7.1.5 

At linux install, Libreoffice should register for URI by :

$ xdg-mime default libreoffice-writer.desktop x-scheme-handler/vnd.libreoffice.command
$ xdg-mime default libreoffice-writer.desktop x-scheme-handler/ms-word
$ sudo update-desktop-database

or course this has to be done for other format (spreadsheet,...)