Closed tjapro closed 1 year ago
Tangram attempts to download these files to ~/Downloads
but doesn't have permission to it.
You can use Flatseal to give ~/Downloads
write access to Tangram.
I will let user choose where to download files eventually.
Hi, I have the same problem.
Ubuntu 20.04.6 LTS
Flatpak 1.6.5
GNOME 3.36.8 X11
I have added /home/$USER/Downloads
as allowed directory using Flatseal, but it didn't help.
When I start the application from the command line and try do download something, I get the following error message:
$ flatpak info re.sonny.Tangram
Tangram - Browser for your pinned tabs
ID: re.sonny.Tangram
Ref: app/re.sonny.Tangram/x86_64/stable
Arch: x86_64
Branch: stable
Version: 2.0
License: GPL-3.0
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 679,4 kB
Runtime: org.gnome.Platform/x86_64/43
Sdk: org.gnome.Sdk/x86_64/43
Commit: e4a4fd76a4032685fe8dabfa6a53cebbe5eb8fd1673b42decdfe9c5413744240
Parent: 82b2ab1175c700497297e5de554008567d0a62ef2f0e00ee61623dbe1a766542
Subject: v2.0 (#27) (af8ac449)
Date: 2023-01-17 23:48:28 +0000
$ flatpak run re.sonny.Tangram
Gjs-Message: 18:49:42.087: JS LOG: env: flatpak
Gjs-Message: 18:49:42.087: JS LOG: data_dir: /home/ondra/.var/app/re.sonny.Tangram/data/Tangram
Gjs-Message: 18:49:42.087: JS LOG: cache_dir: /home/ondra/.var/app/re.sonny.Tangram/cache/Tangram
Gjs-Message: 18:49:42.087: JS LOG: config_dir: /home/ondra/.var/app/re.sonny.Tangram/config/Tangram
Gjs-Message: 18:49:42.087: JS LOG: applications_dir: /home/ondra/.local/share/applications
Gjs-Message: 18:49:42.087: JS LOG: keyfile_settings_path:
Gjs-Message: 18:49:42.157: JS LOG: programInvocationName: /app/bin/re.sonny.Tangram
Gjs-Message: 18:49:42.157: JS LOG: _: /usr/bin/flatpak
Gjs-Message: 18:49:42.157: JS LOG: pkg.version: 2.0
Gjs-Message: 18:49:42.157: JS LOG: pkg.pkglibdir: /app/lib/re.sonny.Tangram
Gjs-Message: 18:49:42.157: JS LOG: pkg.datadir: /app/share
Gjs-Message: 18:49:42.157: JS LOG: pkg.localedir: /app/share/locale
Gjs-Message: 18:49:42.157: JS LOG: pkg.pkgdatadir: /app/share/re.sonny.Tangram
Gjs-Message: 18:49:42.157: JS LOG: pkg.prefix: /app
Gjs-Message: 18:49:42.157: JS LOG: pkg.moduledir: resource:///re/sonny/Tangram/js
Gjs-Message: 18:49:42.157: JS LOG: pkg.name: re.sonny.Tangram
Gjs-Message: 18:49:42.157: JS LOG: pkg.libdir: /app/lib
Gjs-Message: 18:49:42.157: JS LOG: argv /app/bin/re.sonny.Tangram
(re.sonny.Tangram:2): Gjs-CRITICAL **: 18:50:21.585: JS ERROR: Error: No property do_overwrite_confirmation on GtkFileChooserNative
buildWebView/</<@resource:///re/sonny/Tangram/src/WebView.js:154:22
main@resource:///re/sonny/Tangram/src/main.js:58:22
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@file:///app/bin/re.sonny.Tangram:28:41
@file:///app/bin/re.sonny.Tangram:34:6
Adding only the Downloads folder permissions in Flatseal doesn't seem to work, setting filesystem=home
for all user files does.
I will let user choose where to download files eventually.
@sonnyp , I notice this issue is closed with the new version of Tangram.
But it seems this is not resolved, or is it need to install Flatseal to correct it?
PS: Thanks for your hard work!
It should be fixed.
Tangram should ask you where to download the file. See https://github.com/sonnyp/Tangram/blob/7de723ec2c9854c26561cb9abf916646e903ba98/src/WebView.js#L61
Please file a new bug report with steps to reproduce if it's not solved for you.
When I tried to save a file from Whatsapp, I receive a notification about a file downloaded and saved, but there isn't any file saved.
This do not occur on GNOME Web.
Tangram version
Linux distribution Fedora 37
Flatpak version Flatpak 1.14.1
Desktop environment GNOME Shell 42.3 Wayland