flathub / com.github.bleakgrey.tootle

https://flathub.org/apps/details/com.github.bleakgrey.tootle
4 stars 4 forks source link

Not able to attach files or use the file chooser at all #1

Closed esijg closed 4 years ago

esijg commented 5 years ago

mynd

I am on Ubuntu 18.04, when clicking the attach button (paperclip) the file chooser dialog shows only empty folders, unless I go into the root, then I start seeing other folders until I reach my user folder which appears empty.

My guess is that this is possibly a flatpak issue rather than a tootle issue

bilelmoussaoui commented 5 years ago

As far as I'm concerned, this can be fixed either by giving the application the full permission to the home directory or by the application using the NativeFileChooser. Will see what upstream thinks about it

bilelmoussaoui commented 5 years ago

@TingPing Do you think it's good to give it the home directory permission until it's fixed upstream?

TingPing commented 5 years ago

It is probably a 10 line patch to fix it today: https://github.com/bleakgrey/tootle/blob/master/src/Widgets/AttachmentBox.vala#L39-L46

rodneyrod commented 5 years ago

How's the progress with NativeFileChooser coming along?