Closed HibGut closed 2 months ago
Hm, I can reproduce only the default case on my KDE machine. The description of the rest of the issue looks very like you have encountered some xdg-desktop-portal-gnome bug. You can try a distro with newer GNOME version, maybe it's fixed there (but I wouldn't be surprised if it's not and you have to report it to GNOME). Or maybe you need to know some GNOME-specific setting to make it work. Sadly I can't guide you here as I'm not a GNOME user, you have to refer to Debian/GNOME support channels. Or you can switch from flatpak to unsandboxed build to avoid the GNOME's middleman altogether.
very like you have encountered some xdg-desktop-portal-gnome bug.
Looks like that may be true. I have no idea what xdg-desktop-portal-gnome is (I'm just a user, no sysadmin or dev), but after some investigation I found that /run/user/1000/doc/
is locked
... and appears with a wrong date:
The [random 8 hex digits]
directories inside doc
all appear to be created by Flatpak apps. The one belonging to Telegram has a Downloads folder inside, which maps to the real Downloads folder, probably a hard link.
Maybe the lock prevents Telegram from writing data? There is an open bug on the Flatpak Github that's probably the same issue https://github.com/flatpak/xdg-desktop-portal/issues/553 (df /run/user/1000/doc
also gives me Operation not permitted
) and people in there mention this xdg-desktop-portal thing.
But as I said, IDK what that is and already spend way more time than I should on trying to hunt down something that should just work. At the end, I don't really want to learn the details of obscure internal components, I just want Downloads to work.
Does the merge mean the default download is going to work at the next release?
Maybe the lock prevents Telegram from writing data?
IIRC there was some drama that the GNOME portal implementation provides directory access as read-only for flatpak apps. It seems they provide better security at the price of applications like tdesktop being unable to write data. KDE folks seem to be more pragmatic so their implementation works just fine.
Does the merge mean the default download is going to work at the next release?
Hope so. Have no way to test until release.
IIRC the right issue is https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/41
Steps to reproduce
Default:
Alternative 1:
Alternative 2:
Expected behaviour
Default: To find a folder called "ChatExport [name of group]" within a folder called Telegram Desktop within my Downloads folder. This ChatExport folder should contain all saved messages and media.
Alternative 1:
Alternative 2:
Actual behaviour
Default: The ChatExport folder does not exist anywhere. The Telegram Desktop folder is not created.
Alternative 1 and 2:
/run/user/1000/doc/[random 8 hex digits]
, not matching the location picked in the file chooser.Operating system
GNOME 43.9 on Debian 12
Version of Telegram Desktop
Telegram 5.3.2
Installation source
Flatpak
Crash ID
No response
Logs
No response