Bug 425138

Summary: Unable to add local collection
Product: [Applications] digikam Reporter: redhat.8h5ab
Component: Setup-CollectionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ax490, caulier.gilles, davidleebjr, frbrigham, metzpinguin
Priority: NOR    
Version First Reported In: 7.0.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.1.0
Sentry Crash Report:
Attachments: Add collection screenshot
Diaglog when turning on native option

Description redhat.8h5ab 2020-08-08 12:17:22 UTC
Created attachment 130725 [details]
Add collection screenshot

SUMMARY
When browsing the file system via Local Collections > Add collection, the file browser only shows Pictures folder (no Desktop, Documents, etc folders are in view). My pictures are located in a different directory.

STEPS TO REPRODUCE
1. Open digikam
2. Goto Settings > Configure digikam > Collections
3. Local Collections > Add Collection
4. Click on your home folder

OBSERVED RESULT
Only Pictures folder show up

EXPECTED RESULT
Needs to show all the folders in the home folder


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux Mint 20 Cinnamon Ubuntu based
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2020-08-08 12:55:54 UTC
Go to Configure/Miscs/Appearance and turn on "Use Native file dialogs from system" option.

Gilles Caulier
Comment 2 redhat.8h5ab 2020-08-08 14:55:50 UTC
Created attachment 130727 [details]
Diaglog when turning on native option
Comment 3 redhat.8h5ab 2020-08-08 14:57:00 UTC
I turned the option but it is still the same. It shows a different type of dialog but still cannot select the folder that I want. I also tried doing Ctrl + L and manually typing the location on address bar but it won't take it.
Comment 4 Maik Qualmann 2020-08-08 16:46:51 UTC
Since the native file dialog can be displayed with you, I suspect that these are native Ubuntu / Mint packages. The behavior cannot be reproduced here. I looked in the source code, there is no error, we set an initial path but no filters. I suspect broken Qt packets from Ubuntu. Please test it with the AppImage from www.digiKam.org.

Maik
Comment 5 redhat.8h5ab 2020-08-09 13:52:46 UTC
Thank you guys for the help and prompt response. Like you said, it could be due to some broken packages. 

I tried appimage on Fedora and it didn't work. I tried again with Fedora's flathub version from the Gnome software and it's the same issue. But with the Fedora's rmp version, I can see the dialog with the folders in my Home folder.
Comment 6 caulier.gilles 2020-08-09 13:58:32 UTC
Thanks for the feedback. I close this file now.
Comment 7 Maik Qualmann 2020-08-24 05:38:28 UTC
*** Bug 425726 has been marked as a duplicate of this bug. ***
Comment 8 Maik Qualmann 2020-10-09 11:05:38 UTC
*** Bug 427477 has been marked as a duplicate of this bug. ***
Comment 9 Maik Qualmann 2020-10-26 11:44:18 UTC
*** Bug 428270 has been marked as a duplicate of this bug. ***