signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

XDG Portals not used in Flatpak version #7020

Closed bermeitinger-b closed 2 months ago

bermeitinger-b commented 2 months ago

Using a supported version?

Overall summary

Since version 7.25.0, the file operations like attaching any file or saving a file do not use the xdg portals. This makes the usage on Flatpak undesirable. This started already with the beta versions of 7.25.0. We saw on the open Flatpak issue, that is not purely a flatpak problem, however, I can see that the stock version works.

I understand that Flatpak is not supported, however, something has changed here from version 7.24.1 to 7.25.0 so that the portals are not used anymore. If you think like this does not belong here, feel free to close this issue.

Steps to reproduce

  1. Install 7.25.0 from Flathub
  2. Try to attach any file or save any file

Expected result

As in previous versions <7.25, it any file operation (opening, saving) should use the xdg portals to choose the correct file to attach, or the right folder where to store the file.

Actual result

The file picker is not the one from the portal, so no attachments are possible because the access is sandboxed.

Screenshots

No response

Signal version

7.25.0

Operating system

Archlinux

Version of Signal on your phone

No response

Link to debug log

https://debuglogs.org/desktop/7.25.0/9476c42745d60c598391f0c3e88a8a9cc92ef4c62de7d11cdd15de6758a819b0.gz

jamiebuilds-signal commented 2 months ago

Yeah, we only support Flatpak right now as much as Electron supports it. This is a bug on their end either way that we wouldn't be able to fix directly. I would search through issues in https://github.com/electron/electron or create a new one, generally an issue like this requires a "Fiddle" that minimally reproduces the issue in your OS setup https://www.electronjs.org/fiddle