Bug 462145 - Digikam 7.9.0 hangs when selecting Album "Open in file manager"
Summary: Digikam 7.9.0 hangs when selecting Album "Open in file manager"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Engine (show other bugs)
Version: 7.9.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-23 00:46 UTC by jorgy
Modified: 2023-05-03 01:39 UTC (History)
1 user (show)

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


Attachments
Output from lldb from before trying to open the file browser (1.54 KB, text/plain)
2022-11-23 01:06 UTC, jorgy
Details
Output from macos stack trace prompt after trying to do "force quit" after it hangs (139.25 KB, text/plain)
2022-11-23 01:08 UTC, jorgy
Details
snippet from control panel (65.54 KB, image/png)
2022-12-02 23:14 UTC, jorgy
Details
another snippet from control panel (44.48 KB, image/png)
2022-12-02 23:14 UTC, jorgy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgy 2022-11-23 00:46:24 UTC
SUMMARY
Trying to view an album in file manager causes digikam to hang in the 7.9.0 prerelease.  This happens every time and is reproducible on demand for me.


STEPS TO REPRODUCE
1. Open digikam
2. Choose Albums tab, pick an album
3.  Right click and choose "Open in file manager"


OBSERVED RESULT
Album opens, but digikam becomes unresponsive.  Even a "force quit",  doesn't work, and I have to do a kill on 

EXPECTED RESULT
Album should open in file manager, but digikam should remain useable.


SOFTWARE/OS VERSIONS
THIS IS 7.9.0 PRERELEASE

Build date: 11/13/22 9:18 PM (target: Debug)
Revision: 9d885f9afefa5849f1fbf26c3c4124883693aeb6


macOS:  12.6.1 Monterey M1 Pro
KDE Plasma Version: (cocoa) / n/a
KDE Frameworks Version: 5.99.0
Qt Version:  5.15.6

ADDITIONAL INFORMATION
Will attach output from lldb from before the hang.   Will also attach output from doing "force quit" apple OS dialog.
Comment 1 jorgy 2022-11-23 01:06:29 UTC
Created attachment 153954 [details]
Output from lldb from before trying to open the file browser
Comment 2 jorgy 2022-11-23 01:08:04 UTC
Created attachment 153955 [details]
Output from macos stack trace prompt after trying to do "force quit" after it hangs
Comment 3 caulier.gilles 2022-11-23 06:10:17 UTC
I tested here with 7.9.0 pre-release under MacOS Ventura and a Macbook Air M1 : it's work as expected, but MacOS ask to give the right to digiKam to open the file manager.

Typically, if MacOS do not open the dialog box to give right to digiKam (i already seen this situation in the past, and i do not know why this happen), go the MacOS control panel and tune this settings manually.

Best

Gilles Caulier
Comment 4 jorgy 2022-12-02 23:13:42 UTC
Hello, and thanks for your reply.    What settings do you mean in the control panel?   I have set digikam for full disk access (I'll attach snippets of screen snapshots).  Is there something else I need to do?

If nothing else, this is an opportunity to improve the documentation so the MacOS users have a better experience.
Comment 5 jorgy 2022-12-02 23:14:26 UTC
Created attachment 154246 [details]
snippet from control panel
Comment 6 jorgy 2022-12-02 23:14:47 UTC
Created attachment 154247 [details]
another snippet from control panel
Comment 7 caulier.gilles 2023-05-02 17:06:04 UTC
@jorgy

Documentation about the MacOS configuration panel and the right to setup to digiKam:

https://docs.digikam.org/fr/getting_started/installation.html#application-rights

Gilles Caulier
Comment 8 caulier.gilles 2023-05-02 17:07:26 UTC
And i tried with digiKam 8.0.0 and current 8.1.0 pre-release, and open album in Finder work as expected (macOS 12.6.3).
Comment 9 jorgy 2023-05-03 00:42:13 UTC
I'm not sure why I was getting the error since I had the proper permissions in the control panel, but I can now confirm too that version 8.0.0 on 12.6.4 works for me on M1 Apple silicon.