Bug 412277 - in collections setup: propose the system collections
Summary: in collections setup: propose the system collections
Status: RESOLVED DUPLICATE of bug 412275
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Collections (other bugs)
Version First Reported In: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 13:12 UTC by Corné Beerse
Modified: 2019-09-24 15:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented 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 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 ***