flathub / org.xfce.ristretto

https://flathub.org/apps/details/org.xfce.ristretto
1 stars 1 forks source link

Can't open images with other programs #12

Open suilno opened 2 years ago

suilno commented 2 years ago

Using Xubuntu 20.04, Flatpak 1.12.4 and Ristretto 0.12.2 (flatpak).

When opening an image and choosing the "open with" option under the menu bar or "edit this image" in toolbar, Ristretto doesn't list any programs installed on my system:

Captura de tela_2022-01-24_11-35-43

Already tried changing Ristretto permissions in Flatseal, but didn't get anything.

Tamaranch commented 2 years ago

Yes, I left that out until now. The problem is that there doesn't seem to be a proper replacement for g_app_info_get_all() and g_app_info_get_all_for_type() in flatpak context.

Maybe we should even consider that this kind of feature is not suitable/desirable in this context: I had almost greyed it out, maybe I should have…

I also couldn't find any permissions changes that allow these functions to work properly, but I may have missed something. I'll gladly review any suggestions for improvements on this, but I don't plan to spend any time on this myself in the near future.