I’m using mainly fedora for IA image generation with Comfyui app available thru an internet browser ( here i tried Chrome and Brave browser) and which is a nodal app. There’s a node called “Load Image” to load an image inside the workflow.
You have 2 option to load an image : the " choose file to upload" button which open the file picker window which work everytime but isn’t very quick and optimized for any cases
Or you can drag and drop an image on the “load image” node from a Nautilus window , and this works only from the Download Folder > If i try to drag and drop the same image but from another folder i end with : type error Failed to fetch .
Failed to load resource: net::ERR_H2_OR_QUIC_REQUIRED
widgets.js:507 onDragDrop called
:8188/upload/image:1
Failed to load resource: net::ERR_H2_OR_QUIC_REQUIRED
widgets.js:507 onDragDrop called
widgets.js:507 onDragDrop called
widgets.js:507 onDragDrop called
widgets.js:507 onDragDrop called
:8188/upload/image:1
if you have any idea from where it can come from ?
So I believe, that in the flatpaks of the browser, they would need access to the entire /home to have the ability to drag and drop from anywhere. They come configured to use ~/Downloads by default which is why it works from there.
You would need to loosen the permissions for it to work, or use the .rpm of those applications. I have not tested this btw
Edit: I forgot to include the screenshot with the Download permissions
Here is an example of Flatseal handling permissions to the Flatpak LibreWolf Browser.