mimbrero / whatsapp-desktop-linux

Unofficial WhatsApp Linux client built with Electron.
https://flathub.org/apps/details/io.github.mimbrero.WhatsAppDesktop
MIT License
78 stars 20 forks source link

don't require filesystem access to the full host #18

Closed hferreiro closed 1 year ago

hferreiro commented 2 years ago

I got this in the latest flatpak update:

New io.github.mimbrero.WhatsAppDesktop permissions:
    file access [1]     dbus access [2]

    [1] host
    [2] com.canonical.indicator.application, org.ayatana.indicator.application,
        org.kde.StatusNotifierWatcher

I think access to common XDG directories should be enough.

mimbrero commented 2 years ago

Saving to other drives wouldn't work, drag&dropping from, for example, temp folders would give an error, etc.

My friend asked me about this because he ran into these issues so, I don't know what to do then :(. Please give me your thoughts :)

I did this because I noticed that plenty other apps are doing this and electron doesn't seem to be providing those portals anytime soon 😢

lutzseverino commented 2 years ago

Unfortunately, not giving full permission on apps like these makes the user experience some incorrect behavior that they wouldn't expect. For me, not being able to drag n drop is not a big deal, but users switching to Linux expect at least the same grade of functionality than in Windows or macOS.

Same dilemma with the Discord flatpak entry, they decided to remove host permissions, but there's always people complaining about weird behavior, which is not ideal.