desktop
desktop copied to clipboard
Downloading a file via app intermittently fails (when download dialog shows)
I confirm (by marking "x" in the [ ] below: [x]):
- [x] This is not a troubleshooting question. Troubleshooting questions go here: https://docs.mattermost.com/install/troubleshooting.html.
- [x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- [x] I have read contributing guidelines.
Summary When downloading a file, if the system download dialog shows, the download fails as "cancelled". Smaller files download without issue and do no show the system download dialog.

Environment
- Operating System: Mac OS (Ventura 13.0.1)
- Mattermost Desktop App version: 5.2.2
- Mattermost Server version: 7.5.1
Steps to reproduce
- Download a small file, no system download dialog shows and all goes well
- Download a large file, system download dialog shows and download fails as "cancelled"
Expected behavior
- Files of all sizes should download without the system download dialog showing
Observed behavior
Possible fixes
👋 @disco-panda,
Can you please check if you have specified a default download location?
I tried to reproduce but it seems to work for me:
@tboulis Sorry for the slow response, yes I do have a download location specified
Note, that this only occurs on files that show the native "File Save" Dialog like so:


Thank you @disco-panda, I have one more question, have you installed the app through App Store or via downloading the .dmg
file?
Via homebrew
Thanks, I'll try and reproduce and get back to you
Great, thank you so much for your help @tboulis
@disco-panda Sorry for the slow response, but unfortunately I'm not able to reproduce this. Have you tried using the Mac App Store version? https://apps.apple.com/app/mattermost-desktop/id1614666244 (Note there's a bug with that version where you might need to reset your default downloads directory in the Settings window)
I am having this same problem.
OSX 13.3.1 a Originally installed from website dmg download, but has since been switched to app store install.
Randomly the mattermost desktop application stops being able to access the Downloads folder. There is no entry in Privacy & Security for Mattermost, no way to add it. When you click the cancelled file download dot menu and select show in finder, it shows this:
The relevant portion of diagnostic data shows this:
{
message: 'Step-6 finished successfully',
succeeded: true,
payload: {
notificationsSupported: true,
fileSystem: {
downloadsFileAccess: { ok: false, error: [Object] },
logsFileAccess: { ok: true }
},
isTrustedAccessibilityClient: false,
mediaAccessStatus: { mic: 'denied', screen: 'denied' }
},
duration: 20,
name: 'diagnostic-Step-6: PermissionsCheck',
step: 6
}
Its like it somehow loses the permission to write to the folder. Strange we don't see it in Privacy & Permissions area either?
Changing the download location to Documents, for example, fixes it somehow. Can then change it back to Downloads folder and it works. SO something in the process of changing location fixes it, but without even prompting by OSX to allow that newly selected folder?? 😮
Is this still an issue for anyone, even on the newest build?