Open hvbakel opened 1 year ago
What an interesting issue, thanks for reporting it!
The XDG File Manager DBus Interface is blocked by snapd. The worry is that malware might use this interface for phishing.
Signal-desktop should fall-back to using xdg-open to show the directory that contains the file. But for some reason this fails.
This seems to be the reason; when the dbus call fails, it tries to open the parent folder using another call: https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/platform_util_linux.cc#276
So there are two ways to fix this:
What happened?
After downloading an attachment, Signal briefly shows a small popup window with the option "Show in folder" to open a file manager window for the folder where the attachment was saved to. When clicking this option a nautilus window opens but to the wrong folder. It appears to always select the parent folder to the folder the file was actually saved to. For example, when saving to the folder /home/USER, the /home folder will be opened instead. When saving to /home/USER/Downloads, the folder /home/USER will be selected instead, etc.
This problem does not appear limited to Signal, the same issue is also apparent in the Slack snap.
What should have happened?
The correct folder with the downloaded attachment should be opened.
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app