Bug 424965

Summary: Provide UI for Database Network Share for multiple mountpaths
Product: [Applications] digikam Reporter: Nick Cross <kde>
Component: Database-MediaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:

Description Nick Cross 2020-08-03 17:38:42 UTC
SUMMARY

I wanted to share a database between multiple operating systems (Linux and Windows). They would NOT be used simultaneously. 


OBSERVED RESULT

Configuring a normal collection doesn't work (as I get duplicates) so I tried network shares. 
However, currently the database configuration UI only allows a single network share mount point to be configured.

As per http://digikam.1695700.n4.nabble.com/digiKam-users-Sharing-Collection-Database-td4713237.html it would be much better if I didn't have to edit the database directly to configure

"networkshareid:?mountpath=/home/rnc/Insync/name1/Pictures"
to
"networkshareid:?mountpath=/home/rnc/Insync/name1/Pictures&mountpath=D:\name1\Pictures"

which seems to allow either mount to be used transparently.

There is also the problem with locales (as Windows 10 does not have full support for UTF-8) in https://bugs.kde.org/show_bug.cgi?id=382362

SOFTWARE/OS VERSIONS
Windows: 10 
macOS: n/a
Linux/KDE Plasma: Fedora 32 (5.18.5)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2022-07-17 07:35:43 UTC
Git commit 6a630aeab30849225015826aa185cc8a8516cc74 by Maik Qualmann.
Committed on 16/07/2022 at 15:14.
Pushed by mqualmann into branch 'master'.

add support for alternate network paths in the collection view
Related: bug 384820
FIXED-IN: 8.0.0

M  +3    -1    NEWS
M  +4    -0    core/libs/database/collection/collectionlocation.h
M  +6    -3    core/libs/database/collection/collectionmanager.h
M  +5    -3    core/libs/database/collection/collectionmanager_location.cpp
M  +7    -2    core/libs/database/collection/collectionmanager_p.cpp
M  +2    -3    core/libs/database/collection/collectionmanager_p.h
M  +206  -17   core/utilities/setup/collections/setupcollectionview.cpp
M  +21   -8    core/utilities/setup/collections/setupcollectionview.h

https://invent.kde.org/graphics/digikam/commit/6a630aeab30849225015826aa185cc8a8516cc74