Bug 412275 - Pictures directory not properly discovered after moving it under Windows : add support of virtual windows libraries
Summary: Pictures directory not properly discovered after moving it under Windows : ad...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 412277 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-24 12:44 UTC by Corné Beerse
Modified: 2022-01-09 22:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corné Beerse 2019-09-24 12:44:44 UTC
SUMMARY
After installation, on first run on msWindows (10) if the pictures directory is moved, the origional/default is used, not the moved one.

STEPS TO REPRODUCE
1. on msWindows, move the pictures location according https://support.microsoft.com/en-us/help/2936105/operation-to-change-a-personal-folder-location-fails-in-windows

2. Install digicam and use it for the first time.
3. See Settings -> ConfigureDigikam -> Collections and find the C:\Users\Accont\Pictuers as pictures location, not the moved one.

OBSERVED RESULT
Not my moved pictures directory by default. I need to find it myself.

EXPECTED RESULT
My moved pictures directory in primary view.

SOFTWARE/OS VERSIONS
Windows: 10 (1903)

(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Search for "shgetknownfolderpath" in your program language on msWindows to find the mypictures information.
My search for this moved location started in the registry at "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders".
For PowerShell: "https://stackoverflow.com/questions/16658015/how-can-i-use-powershell-to-call-shgetknownfolderpath"

For what its worth: Besides MyPictures, there is also CommonPictures, that points to the pictures of the public profile. If it is used (if there are pictures) it could/should be among the default collections too.
Comment 1 Maik Qualmann 2019-09-24 15:24:12 UTC
*** Bug 412277 has been marked as a duplicate of this bug. ***
Comment 2 Maik Qualmann 2019-09-24 15:27:59 UTC
We do not support virtual windows libraries. The physical file paths must always be selected.

Maik
Comment 3 caulier.gilles 2020-08-01 14:04:34 UTC
digiKam 7.0.0 stable release is now published and now available as FlatPak:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier