Bug 100837 - Support Office URI Schemes (as in MSOffice)
Summary: Support Office URI Schemes (as in MSOffice)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Mike Kaganski
URL:
Whiteboard: target:5.3.0 target:5.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 12:08 UTC by Mike Kaganski
Modified: 2017-07-14 13:19 UTC (History)
5 users (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 Mike Kaganski 2016-07-10 12:08:46 UTC
For descent support of SharePoint browser integration, LO should support Office URI Schemes: https://msdn.microsoft.com/en-us/library/dn906146

I'm going to come with a patch for this.
Comment 1 Cor Nouws 2016-07-10 20:30:54 UTC
Thanks Mike!
Comment 2 Mike Kaganski 2016-07-10 20:52:25 UTC
A patch submitted to gerrit: https://gerrit.libreoffice.org/27094
Comment 3 Commit Notification 2016-07-19 07:02:16 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c697ad1a44323e3491451ebdc25019751d8a1bc1

tdf#100837: Support Office URI Schemes

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2016-07-31 09:36:11 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=4311e8fb88c334cccad6f577610e1af8ae75bc59

tdf#100837: honor LibreOffice command line arguments for Office URIs

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Xisco Faulí 2016-09-15 22:46:18 UTC
Hello,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?
Comment 6 Mike Kaganski 2016-10-18 06:13:30 UTC
Patch that registers the handlers is submitted for review: https://gerrit.libreoffice.org/29988
Comment 7 Commit Notification 2016-10-18 08:41:04 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdd8686987ca4ee693f5f194c8eb482daa69cfef

tdf#100837: Register new URI handlers with installer

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Erik 2017-01-05 09:41:36 UTC
I verified that the windows installer registers the vnd.libreoffice.command: protocol (I have MS office installed as well, so can't check ms-word: etc) correctly in: 
Version: 5.3.0.1
Build ID: 3b800451b1d0c48045de03b5b3c7bbbac87f20d9
which I got from the prerelease builds server: 
http://dev-builds.libreoffice.org/pre-releases/win/x86/

However, when using the 5.3 beta2 which is linked to on the website, it appears this functionality is NOT included in the installer: 
Version: 5.3.0.0.beta2
Build ID: a7e30712ad6d8bc9286007b37aa581983e0caba3

Additionally, it appears registering the URI scheme is also not available in the beta2 (same build as above) deb packages on linux (specifically tried Debian Jessie with xfce). 

I verified that my test URL did work correctly when sent from the commandline on the beta versions on linux.
Comment 9 Mike Kaganski 2017-01-05 11:11:33 UTC
(In reply to Erik from comment #8)
> I verified that the windows installer registers the vnd.libreoffice.command:
> protocol (I have MS office installed as well, so can't check ms-word: etc)
> correctly in: 
> Version: 5.3.0.1
> Build ID: 3b800451b1d0c48045de03b5b3c7bbbac87f20d9
> which I got from the prerelease builds server: 
> http://dev-builds.libreoffice.org/pre-releases/win/x86/

Great; this is release candidate 1, that installer is built with release settings.

> However, when using the 5.3 beta2 which is linked to on the website, it
> appears this functionality is NOT included in the installer: 
> Version: 5.3.0.0.beta2
> Build ID: a7e30712ad6d8bc9286007b37aa581983e0caba3

This beta release installer is built with pre-release settings, e.g. without writing to registry; that's why you won't have anything registered with it unless you modify installer or use special command line switches.

> Additionally, it appears registering the URI scheme is also not available in
> the beta2 (same build as above) deb packages on linux (specifically tried
> Debian Jessie with xfce). 
> 
> I verified that my test URL did work correctly when sent from the
> commandline on the beta versions on linux.

The registration is only done on Windows. I'm sorry that I didn't mention that in commit message.
Comment 10 Erik 2017-01-05 12:51:42 UTC
(In reply to Mike Kaganski from comment #9)
> (In reply to Erik from comment #8)
> 
> Great; this is release candidate 1, that installer is built with release
> settings.
> ---
> This beta release installer is built with pre-release settings, e.g. without
> writing to registry; that's why you won't have anything registered with it
> unless you modify installer or use special command line switches.
Excellent! Then it appears to work as expected. 

> 
> The registration is only done on Windows. I'm sorry that I didn't mention
> that in commit message.
From the commit contents I already guessed that this was the case (that's why I made sure to test it). Thanks for confirming :)

Shall I report a new bug so the respective package maintainers could look into it?
Comment 11 Mike Kaganski 2017-01-05 17:56:00 UTC
(In reply to Erik from comment #10)
> Shall I report a new bug so the respective package maintainers could look
> into it?

I suppose it's a right thing. Thank you for testing!
Comment 12 Commit Notification 2017-05-15 09:10:56 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=ccd7f45d1fb9bc96e17657bed7a76c79f4ad5801

tdf#100837: advertise app URL capabilities

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Xisco Faulí 2017-07-14 13:16:31 UTC
Polite ping: is this bug fixed? if so, please close it as RESOLVED FIXED
Comment 14 Mike Kaganski 2017-07-14 13:19:38 UTC
Let's call it fixed, yes. Ano follow-ups should go to new issues.