simplex-chat / simplex-chat

SimpleX - the first messaging network operating without user identifiers of any kind - 100% private by design! iOS, Android and desktop apps 📱!
https://simplex.chat
GNU Affero General Public License v3.0
5.99k stars 281 forks source link

[Bug] [Flatpak] Profile picture file-picker is not user-friendly. #4412

Open ethical-haquer opened 2 months ago

ethical-haquer commented 2 months ago

Is there an existing issue for this?

Platform

Linux

OS version

Debain testing

App version

5.8.1

Current Behavior

This is similar, though not the same as, #4339. When I try to choose a profile picture, this is what pops up when using the Flatpak: unusable-file-picker I have to say, it is the worst file picker I've ever seen. 🤣 However, it's not just the file-picker itself; it seems like SimpleX doesn't have the permissions to access anything outside of the ~/Downloads/simplex/ folder.

For the "Platform" field on an issue, shouldn't there be an option for "Flatpak" or "AppImage" as well?

Also, no other app I've seen creates a directory in the user's home directory without asking.

Expected Behavior

If SimpleX has access to only one folder, it would be good if it did something like:

But then, wouldn't it be better to let the user choose a file from anywhere on the system?

As for the simplex folder in the Download directory, what is it used for?

Lastly, what is the proper way to get logs? (for a .deb install) I tried running simplex, and simplex-desktop, but neither of those were the right command.

TIA.

Steps To Reproduce

Relevant log output

No response

Narasimha-sc commented 1 month ago

you can get logs with:

flatpak run chat.simplex.simplex

and yes possibly a native linux file picker should be used here (that allows choosing any file since it is user initiated action, doesn't need to give the app itself access to all files)

ethical-haquer commented 1 month ago

@Narasimha-sc Thanks for the reply! But I was wondering how to get logs if I install the app as a .deb, e.g. natively. TIA.

Narasimha-sc commented 1 month ago

ypu can run it from terminal with:

/opt/simplex/bin/simplex