[Digikam-devel] [Bug 261277] Windows and Linux Frontend using the same database

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Nov 2 21:02:50 GMT 2011


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





--- Comment #18 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-02 21:02:50 ---

> Marcel, what is the expected behavior if digiKam can access multiple mountpaths
> for a single networkshareid? Will it ignore all the other mountpaths after the
> first working mountpath it finds?

Yes

> Also, how is the behavior of digiKam different with 'Local collections' and
> 'Collections on Network Shares' if I am able to add a local collection to
> either? In other words, why is there a distinction between the two at all?
> Couldn't there be just be a list of 'collections' and for each collection we
> have can have multiple mountpaths (i.e. replace 'Local collections' and
> 'Collections on Network Shares' with a single 'Collections')? Maybe in Linux
> the behavior is different.

There is at the moment no good way for us to detect if a specific path is a
mounted network share (there's statfs on Linux, something different on Windows,
neither implemented, no cross-platform KDE libs support).

So for network collections, we just see if the specified folder is empty, then
the collection is unavailable. It's really accessed by mount path only. Local
collections are tied to a storage medium (harddisk partition)

> Also, will a sigle thumbnail be shared for the same image between all
> mountpoints? (ex. 3 mount points, but only 1 thumbnail created).

Yes, because thumbnails are preferably referenced by a file hash

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list