-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: "Show in folder" selects wrong folder #82
Comments
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
The text was updated successfully, but these errors were encountered: