Closed devinbinnie closed 2 months ago
/cherry-pick release-5.9
Cherry pick is scheduled.
what's the timeline for this? Can't save images at all
@licaon-kter its included in v5.9
@M-ZubairAhmed "merged 2 weeks ago", 5.9 was released "6 weeks ago", not sure I follow :smile:
time travel aside, I'm seeing this on 5.9 hence my question
@licaon-kter It will go out in the next dot release of v5.9, as well as v5.10 which is scheduled for November 16th.
Summary
When we made the fix to disallow the
file:
protocol, we started usingcreateThumbnailFromPath
to process images. Unfortunately, this function is simply not defined on Linux, causing a crash.This PR falls back to using the
createFromPath
function for Linux only, which creates a full version of the image. I've capped the image size to use at 1MB so that we don't inflate the memory usage of the downloads dropdown too much.Ticket Link
https://mattermost.atlassian.net/browse/MM-60232 Closes #3129