I have installed a few chat applications through flatpak (teams with Edge and “Whatsapp for Linux”). In both cases I can’t paste images or drag files. I can paste text and I can upload files through the GUI. I imagine this is likely due to a permission that can be set through Flatseal. Anybody can help?

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    My guess: It’s likely that the missing permissions are to the folder where those files live. The applications’ file picker GUIs work anyway because they use flatpak portals, which automatically grant access to whatever file you pick.

    If you want drag and paste to work, consider using flatseal or flatpak override to grant access to the folder where you keep your attachable files.

  • Megaf@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m actually having issues pasting images on WhatsApp web on regular Firefox. That might be a thing with WhatsApp itself.

    About the permissions, if you are pasting an image that is in your computer, then the app needs to be able to read the file from the computer, aka read the file from disk.