Bug 412277

Summary: in collections setup: propose the system collections
Product: [Applications] digikam Reporter: CornĂ© Beerse <cbeerse>
Component: Setup-CollectionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: 6.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Corné Beerse 2019-09-24 13:12:43 UTC
SUMMARY At MSWindows systems, there are the MyPictures collection and the CommonPictures (PublicPictures) collections. By default they are at the users-profile\Pictures or c:\users\public\pictures.
However, if they are moved, that location could/should be shown/used.


STEPS TO REPRODUCE
1. Optionally move the pictures directory (following: https://support.microsoft.com/en-us/help/2936105/operation-to-change-a-personal-folder-location-fails-in-windows)
2. Open Settings -> ConfigureDigicam -> Collections
3. Under LocalCollections it would be nice to see the defaults at their current location, not the default location.

OBSERVED RESULT
Only MyPictures is shown at the default location.

EXPECTED RESULT
MyPictures should be shown at the configured location
PublicPictures could be shown at its location (default: c:\users\public\pictures)


SOFTWARE/OS VERSIONS
Windows: 10 (previous too)
macOS: nvt
Linux/KDE Plasma: nvt
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The info is in the registry at "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders", including a hint to look at SHGetKnownFolderPath.
https://stackoverflow.com/questions/25709398/set-location-of-special-folders-with-powershell 
https://cpp.hotexamples.com/examples/-/-/SHGetKnownFolderPath/cpp-shgetknownfolderpath-function-examples.html

See https://renenyffenegger.ch/notes/Windows/dirs/_known-folders for even more nice folders in msWindows.
Comment 1 Maik Qualmann 2019-09-24 15:24:12 UTC

*** This bug has been marked as a duplicate of bug 412275 ***