Open peacepenguin opened 3 years ago
@peacepenguin Thanks for the report do you want to try opening a PR yourself because I am under the impression that you already did a lot of work ? I will try to find somebody do it quickly if you cannot do it yourself
@mgallien yes no problem, I've opened a pull request with the proposed changes: https://github.com/nextcloud/desktop/pull/3419
Thanks!
Related: #836 / #1459
Expected behaviour
When syncing multiple accounts in the desktop sync client, all folders shown in the File NAV bar should be human readable, logical named entries that represent that nextcloud account.
Top level Folders in the OS file Nav bar should always look consistent, something like this:
Actual behaviour
File tree looks like this when LDAP user backend is in use on the Nextcloud server:
Problem summary:
The "displayName" is supposed to be used for the folder naming. But the desktop client incorrectly maps the Nextcloud "Internal UID" to the "DisplayName" field, so for LDAP sync'd user backends, the DisplayName shown is actually the LDAP GUID instead of the configured Nextcloud Display Name for that user.
Potential fix: (tested)
This proposed "title" variable change would result in this layout for the top level folder name in the nav bar:
This UI change makes LDAP backend sync folders look much nicer and easier for the end-user to identify the associated account.
How to use GitHub