Crow-translate can't subscribe answer from portal xdg-desktop

I installed flatpak crow-translate on Debian 12 Plasma5 and I want to ocr screenshot but I get: can’t subscribe answer from portal xdg-desktop.

I have xdg-desktop-portal-kde is already the newest version (5.27.5-2).

Are there any alternatives to quickly perform ocr on screenshot? crow-translate is really great because it allows also translation.

gimagereader works pretty well at OCR from screen grab images.

but your error message likely has something do to with permissions given the flatpak which you can adjust in discover or using flatseal.

i have the native .deb version 2.11.0 from the ubutntu repositories… did you check you debian 12 repositories for crowtranslate before you installed the flatpak?

Indeed. Now I received message:

Crow Translate needs permission to take screenshots. Please grant permission in your system settings or use the interactive screenshot mode.

But I don’t know what permission. D-bus session, D-bus system, socket x11, or some portals. In Flatseal I have enabled portals: running in background and messages and communication between process share=ipc, share=network, and socket=wayland.

I also have: xdg-config/kdeglobals:ro

I didn’t find any relevant options in system settings and I don’t know what is interactive screenshot mode in Plasma.

just light up the tree and turn everything on.

something that wants to be this closely integrated to your OS will need all the privileges, just as tho it were a native install.

This is what I don’t want to do. After all the purpose of using flatpak is to have a kind of sandbox and I don’t want to enable everything not knowing what is means.

I believe developers may want to look into this and add proper option by default. I think I should report a bug but I don’t know where is the proper place, kde bugs - as they maintain Flatpak or github or gitlab.

that’s ONE purpose of a flatpak…another is access to packages that don’t exist in your default repository.

depending on the package, you may need native levels of access in order for it to function.

flatpaks are rarely released with all the privileges turned on which is why i generally prefer native packages, esp when they are as tightly integrated to the OS as this needs to be.