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

            Bug ID: 456749
           Summary: Cross-platform filename support
           Product: digikam
           Version: 7.7.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Database-Mysql
          Assignee: digikam-bugs-n...@kde.org
          Reporter: spam-recei...@web.de
  Target Milestone: ---

SUMMARY
I use Digikam with MySQL backend, and the photos stored on a WebDAV share.   
Until now, I was solely on Windows, hence I was able to mount the WebDAV share
always on the same path.

Now, I additionally want to use a Ubuntu desktop.
The WebDAV share is mounted somewhere (auto-location determined by Ubuntu).
I pointed Digikam on Ubuntu to the same MySQL database and to the WebDAV mount
point on Ubuntu, and voila, my photos were there.

Then I realized that this is not true: 
* Digikam thinks the The photos are at ``N:\path\to\photos``
* But on Ubuntu they are at
``/path/to/mountpoint/dav:host=server,ssl=true/path/to/phtotos``

Three topics need to be considered:
1. Photo path in the database should always be relative to the base path.
2. Photo path in the database should be platform-unaware.
3. There should be a way to select a base path which is already in the
database, and redirect it to a path in the local installation.


STEPS TO REPRODUCE
1. Photo storage on network location
2. Digikam on Windows with MySQL backend 
3. Digikam on Linux with same MySQL backend
4. Try to manage the same photos (on network location) using the same database

OBSERVED RESULT
Not possible, because base paths to photo storage on network location don't
match between Windows and Linux.

EXPECTED RESULT
Same photos and same database should be used on Windows and on Linux.

SOFTWARE/OS VERSIONS
Windows: Win10
macOS: ./.
Linux/KDE Plasma: Ubuntu LTS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
./.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to