https://bugs.freedesktop.org/show_bug.cgi?id=65261

          Priority: medium
            Bug ID: 65261
          Assignee: [email protected]
           Summary: : WebDAV: On Ubuntu, LibreOffice does not handle
                    vnd.sun.star.webdav protocol out-of-the-box
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.2.2 release
         Component: Libreoffice
           Product: LibreOffice

Libreoffice is able to open documents located on a WebDAV server if provided
with an URL starting with the vnd.sun.star.webdav protocol.
(for instance: vnd.sun.star.webdav://example.com/webdav/my-document.odt )

Unfortunately, after installing Libreoffice on Ubuntu these URL aren't still
handled correctly.

Whether you click on a link in your browser or you try to open the URL from the
command line with xdg-open vnd.sun.star.webdav://... you get a message saying
that this protocol is unknown.

What I expected was that LibreOffice would start and would open the document.

A workaround is to create a Desktop file with the following informations:
[Desktop Entry]
Name=WebDav LibreOffice
Exec=/usr/bin/libreoffice %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/vnd.sun.star.webdav;

and then to copy it in /usr/share/applications
Afterwards you have to run sudo update-desktop-database so that Ubuntu will
take the new protocol into account.

A more definitive solution would be to modify the libreoffice-base Desktop file
that comes with libreoffice (also located in /usr/share/applications) to add
the MimeType properties described above.

Note: I have also filled a bug report in Ubuntu's launchpad, but the comment in
the desktop file state that it is part of the LibreOffice project. As I'm not
sure which project is able to fix this bug, I've open a bug report on both
bugtrackers. Sorry for the mess!
Launchpad bug report:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1186702
Operating System: Ubuntu
Version: 4.0.2.2 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to