[dolphin] [Bug 465861] New: Unable to open LibreOffice documents on password-protected webdav remote

Alex Dewar bugzilla_noreply at kde.org
Thu Feb 16 17:56:57 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=465861

            Bug ID: 465861
           Summary: Unable to open LibreOffice documents on
                    password-protected webdav remote
    Classification: Applications
           Product: dolphin
           Version: 22.12.2
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: alex.dewar at gmx.co.uk
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 156317
  --> https://bugs.kde.org/attachment.cgi?id=156317&action=edit
Screenshot of HTTP error

SUMMARY

I currently access my workplace's Sharepoint drive in Dolphin via webdav. In
order to make this work, I first had to authenticate using konqueror so that
the necessary token is stored as a cookie. After this, dolphin will happily
navigate to Sharepoint's webdav frontend.

It mostly works great and I can perform normal file operations (moving,
renaming etc.) as well as opening files. The problem comes when I try to open a
file using LibreOffice. Dolphin *thinks* that LibreOffice can open http/webdav
URLs directly, because it sets the  X-KDE-Protocols property in its .desktop
files. The problem is that LibreOffice isn't able to access the file because it
doesn't have the relevant authentication token, so I get an error. Seemingly
for other, non-http-aware programs, dolphin is still able to open files with
them via kio-fuse and presumably this would also work with LibreOffice, except
for the fact that there doesn't seem to be a way to enforce this behaviour.

I see a couple of solutions to this. One would be to allow users to turn on/off
this behaviour in some way. This could be done globally (i.e. "never open http
links with LibreOffice") or just for the individual remote folder.
Alternatively, I suppose dolphin could try to detect when it is unlikely that
the file will be available on the public web (e.g. by checking whether or not
authentication was required to access it) and change its behaviour accordingly.
This option seems harder.

See attachment for screenshot of error.


STEPS TO REPRODUCE
1. Connect to a password-protected webdav instance through dolphin
2. Attempt to open a LibreOffice document

OBSERVED RESULT
Error displayed as LibreOffice fails to access URL.

EXPECTED RESULT
File opens normally (via kio-fuse?).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.11-arch1-1
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list