Bug 490748 - Send images using kmail does not work with Snap and FlatPak.
Summary: Send images using kmail does not work with Snap and FlatPak.
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-FlatPak (show other bugs)
Version: 8.4.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-24 09:36 UTC by Christoph Thielecke
Modified: 2024-07-24 10:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2024-07-24 09:36:59 UTC
I tried to send pictures by email using the plugin.
The setup is a bit weird as I have to select the mail program by hand.
Next, I can't specify parameters (open kmail without parameters may not making sense if not supplied by digikam, e.g. --composer)

So get this working I tried to add a (executable) bash script to /usr/local/bin (kmail_new_mail) containing:
#!/bin/bash
/usr/bin/kmail --composer

As a surprise, digikam copies the selected binary to /run/user/1000/doc/xxxxxx and run this.
I would exepect that is will execute the program directly.

Unlikly it seems that kmail is not started, as no window pops up.
Comment 1 Maik Qualmann 2024-07-24 09:42:44 UTC
Of course we start KMail directly, I actually use this more often. It just doesn't work in Snap or Flatpak packages, because of the sandbox, which we have no control over. Use our AppImage.

Maik