Bug 148610 - UI Better detection of URL parts in Remote Files dialog
Summary: UI Better detection of URL parts in Remote Files dialog
Status: RESOLVED DUPLICATE of bug 147001
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-15 09:22 UTC by Gabor Kelemen (allotropia)
Modified: 2022-05-03 07:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Entering a full URL into the Add Service dialog (22.34 KB, image/png)
2022-04-15 09:22 UTC, Gabor Kelemen (allotropia)
Details
After reopening the Edit services dialog (19.46 KB, image/png)
2022-04-15 09:35 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-04-15 09:22:50 UTC
Created attachment 179581 [details]
Entering a full URL into the Add Service dialog

Currently in the Remote Files dialog, when you add a new WebDAV service separate parts of the URL have to be entered in different fields, which is not very user friendly.

We need to consider that some popular groupware suites such as NextCloud give users a single URL like https://nextcloud.documentfoundation.org/remote.php/dav/files/kelemeng/ - LO should be able to recognize this.

1. Open Remote Files dialog
2. From the top right Manage Services dropdown select Add Service
3. Select the WebDAV type, in the Host field enter the above full URL, but do not change anything else
4. Close the dialog. You should get a password prompt, but you won't.
5. Reopen the settings from Manage services - Edit service

Now the fields are a complete mess:
- Host field contains "https" instead of nextcloud.documentfoundation.org
- Port field contains "80"  instead of 443
- Root field contains "//nextcloud.documentfoundation.org/remote.php/dav/files/kelemeng/" instead of /remote.php/dav/files/kelemeng/

The UI should detect what is what in a full WebDAV-share URL, and fill in fields accordingly.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ab8d141967111ca81f4607db3618bb09214e42db
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Also happens in al versions back to when the RF dialog was added in 4.1 or about so.
Comment 1 Gabor Kelemen (allotropia) 2022-04-15 09:35:00 UTC
Created attachment 179582 [details]
After reopening the Edit services dialog
Comment 2 Gabor Kelemen (allotropia) 2022-05-03 07:01:45 UTC

*** This bug has been marked as a duplicate of bug 147001 ***