https://bugs.documentfoundation.org/show_bug.cgi?id=96833

            Bug ID: 96833
           Summary: Remote Files UI dialog has various small issues (lost
                    values in editing, wrong TCP port number
                    management...)
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: giuseppe.casta...@acca-esse.eu

LO: 5.2.0.0.alpha0+
Build ID: 9b7cd8f0ffe8bfe77ddd30fa4021a9a60b7794c1
CPU Threads: 8; OS Version: Linux 3.13; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2015-12-29_23:53:05
Locale: en-US (en_US.UTF-8)

Found during my various checks with WebDAV.

If you try to use the the 'Remote files' dialog to add and/or edit a remote
file place you will see a number of small problems.

To reproduce:

First lower the time-out to react a non existing server:
1) 'Tools > Options > LibreOffice > Advanced tab, select 'Expert
Configuration';
2) locate 'ConnectTimeout' property in org.openoffice.Inet.Settings;
3) lower it to 2 sec, the minimum allowable, remember to upper it again to 20
seconds after the tests.
This new property comes from my fix to bug 90700.

To test 'Add service'

1) select 'File > Open remote file' menu item;
2) when the 'Remote Files' dialog opens, select Add service;
3) from the dropdown combo box select WebDAV and add the following elements to
register a fake server:
Host: afake.com
Port: try to use 65535, the maximum value allowed for a TCP port IP4
addressing, only 6553 is accepted
tick 'Secure connection'
User: leave blank
Password: leave blank
Remember password: leave unticked
Label: something of your choice
Root: something of your choice

4) press OK
5) LO will try to connect to a non-existen server, will rightly gives you an
error, acknowlege the erro, the new service is added anyway.

Now, to test the editing:
The 'Service' dropdown combo box will show you the newly added service, select
'Edit service', 'Port' is reset to 80, should at least
have been 6553 as shown (still different from 65535 as was needed in the first
place) 'Secure connection' disappeared.

Things that should be done on WebDAV service add/edit only:

On 'Add service':
1) accept the entire range of TCP port up to 65535;
2) grey-out 'User', 'Password'  and 'Remember password' fields since they are
not used, but leave them there because though currently the WebDAV ucb layer
ignores the user, it may use it in the future.
User and password are requested later, when LO tries to connect.

On 'Edit Service':
1) have the edit dialog 'remember' the current stored values;
2) grey-out User field in 'Edit service' as well, for the same reason as above
in 'Add service'.

I have a work in progress patch con current master, though a confirmation of
this bug in another OS will be nice.
Some comments from UX people would be appreciated as well.

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

Reply via email to