Bug 479837 - Open with menu doesn't show any other installed apps
Summary: Open with menu doesn't show any other installed apps
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-FlatPak (show other bugs)
Version: 8.2.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 11:18 UTC by laubblaeser
Modified: 2024-01-15 13:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description laubblaeser 2024-01-15 11:18:48 UTC
SUMMARY
When right clicking on a photo, the context menu has an option to open the file with another program ("open with"). The Flatpak version of Digikam cannot see any other apps installed on the PC. It therefore only shows those programs that came installed with Digikam but not any others (e.g. the system-wide installation of Gwenview or a GIMP installation via Flatpak).


STEPS TO REPRODUCE
1. Install Digikam via Flatpak with default permissions.
2. Add an album with one photo in it.
3. Right click the photo and select "open with".

OBSERVED RESULT
The "open with" dialogue shows only hugin.

EXPECTED RESULT
The "open with" dialogue should be populated with other installed apps.

I'm aware of the sandboxed environment of Flatpak apps. However, Digikam should be able to communicate with other applications on the PC (at least a few which could be selected by the user). For instance, I would like to right-click a photo in Digikam, select "open with", and directly open the file with GIMP.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240112
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.10-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 laubblaeser 2024-01-15 11:20:54 UTC
On Mastodon I've received a suggestion that Digikam would have to "implement the open with dialog via xdg-desktop-portal OpenURI" to make this work. It was also mentioned that "quite a lot of apps" have already done so. Is this something that could solve the issue I'm facing here?
Comment 2 Maik Qualmann 2024-01-15 11:28:22 UTC
Why do you use the limited Flatpak version with sandbox under openSUSE? openSUSE has a current digiKam version in their repository without these restrictions.

Maik
Comment 3 laubblaeser 2024-01-15 11:44:11 UTC
Hi Maik, thanks for your input. I've resorted to using the Flatpak version because the updates arrive faster on that Platform. Currently openSUSE Tumbleweed still distributes 8.1.0 (see https://software.opensuse.org/package/digikam) and I'd like to keep those apps with faster development cycles as up to date as possible. :)
Comment 4 Maik Qualmann 2024-01-15 12:18:22 UTC
But Flatpak is not a good choice, I already wrote that it uses a sandbox.
Use our AppImage, we even have updated versions every week:

https://files.kde.org/digikam/

Maik
Comment 5 laubblaeser 2024-01-15 12:47:41 UTC
Alrighty, I'm not dogmatic in any way here. I'll migrate my Digikam installation to AppImage then.

Two related questions, if I may:
1. Can I just select my existing database directory and Digikam will continue using that?
2. Does the Digikam AppImage have an auto-updater integrated or do I need to manually check for updates?
Comment 6 caulier.gilles 2024-01-15 12:57:42 UTC
There is no auto-update with AppImage, sorry.

Gilles Caulier
Comment 7 laubblaeser 2024-01-15 13:33:20 UTC
A brief last comment from my side regarding packaging platform: AppImage integration is pretty lackluster as it doesn't use my cursor theme or window decorations, it uses wrong icon color (dark icon colors on a dark theme), and doesn't support the KDE global menu for my taskbar. I have now resorted to my absolutely least preferred option, namely using the Tumbleweed package (which is stuck on 8.1.0 since quite some time). :/

I've understood that the devs do not want to maintain the Flatpak version and/or deal with any issues related to its sandboxing. This issue can then be closed, I suppose.

P.s.: My comment may come across as salty. Sorry if that's the case, that was not the intent. Thank you very very much for your work on Digikam. This is a marvelous piece of software that is very stable and improves with every release! :)
Comment 8 caulier.gilles 2024-01-15 13:49:08 UTC
Icons-set, color themes, and widget styles can be configured in digiKam. It's wanted to be desktop dependent. digiKam run also under Windows and MacOS, so we use dedicated methods to customize GUI.

https://docs.digikam.org/en/setup_application/miscs_settings.html#appearance-settings
https://docs.digikam.org/en/setup_application/theme_settings.html

Gilles Caulier