Bug 472890

Summary: digiKam Email with Thunderbird
Product: [Applications] digikam Reporter: Bert Broekstra <bbroek02>
Component: Plugin-Generic-SendByMailAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bert Broekstra 2023-08-01 18:23:30 UTC
SUMMARY
***
Unable to select an Email program when selecting Tools->Send by Email. The Email dialog menu opens but when selecting an Email application, all selections are "grey'ed out" and none can be checked. When I select the Find option, the Application folder contents is shown, but Thunderbird (and all other applications) is "grey'ed out". No selection can be made.

I have checked TB to verify it is the default mail program by entering the TB Settings, selecting Check if TB is default Email program, Check Now -> Selected TB Email in the System Integration dialog, then selected Set as Default.

I rechecked OSx Privacy Settings and found no reference to Email access by an application.

I searched the DK database for past reporting on this issue and found one link describing this same issue several years ago:
https://mail.kde.org/pipermail/digikam-users/2016-September/022634.html
I could not tell if the 2016 reported issue was resolved.

***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: Ventura v13.5
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
MacBook Air M2, 16GB RAM
Comment 1 Maik Qualmann 2023-08-01 19:34:02 UTC
You will need to navigate to the folder that contains the Thunderbird executable. You may need to enable the native file dialog in the digKam settings under Miscellaneous-> Behavior.

Maik
Comment 2 Bert Broekstra 2023-08-01 20:26:58 UTC
Maik,
I added DK to have Full Disk Access (FDA) under the Privacy & Security 
category. OSx describes FDA as: Allow the applications below to access 
data like Mail, Messages, Safari, Home, Backups and certain 
administrative settings for all users. Under the Files and Folder 
section, DK shows it has FDA.

Result: Adding DK for FDA made no difference when selecting Email within DK.

In DK's Miscellaneous section, I did not find a place to add a native 
field dialog for Thunderbird.
Bert

On 8/1/23 1:34 PM, Maik Qualmann wrote:
> https://bugs.kde.org/show_bug.cgi?id=472890
> 
> Maik Qualmann <metzpinguin@gmail.com> changed:
> 
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |metzpinguin@gmail.com
> 
> --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
> You will need to navigate to the folder that contains the Thunderbird
> executable. You may need to enable the native file dialog in the digKam
> settings under Miscellaneous-> Behavior.
> 
> Maik
>
Comment 3 Maik Qualmann 2023-08-01 20:39:55 UTC
digiKam needs the file path to Thunderbird to start it via parameter.
So you have to manually select the path in digiKam to Thunderbird.
This can be prevented by not using the native macOS File dialog.
However, the setting is located in the Appearance tab.

Maik
Comment 4 Bert Broekstra 2023-08-01 21:23:22 UTC
Maik,

In the DK Miscellaneous Settings, I opened the Appearance tab and 
removed the check for "Use native file dialogs from system". I then 
started DK, selected Email, selected TB from the Email list, selected 
Find on TB, which opened the Applications folder. Selected TB which then 
opened the binaries folder.

Result: The Email function works! Thanks much for your help.

Will you be adding this procedure to the DK User Manual for OSx users?

As a side note, I removed DK from Full Disk Access in OSx Privacy 
Settings. This prevents DK from accessing the Applications folder, so DK 
does need Full Disk Access.
Bert

On 8/1/23 2:39 PM, Maik Qualmann wrote:
> https://bugs.kde.org/show_bug.cgi?id=472890
> 
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> digiKam needs the file path to Thunderbird to start it via parameter.
> So you have to manually select the path in digiKam to Thunderbird.
> This can be prevented by not using the native macOS File dialog.
> However, the setting is located in the Appearance tab.
> 
> Maik
>